ECE 209 Lab Assignment 1

Due date

This assignment must be submitted as a single file assign1.c for Assignment 1 of the ECE 209.602 section on UNCA moodle by 11:00 PM on Tuesday, 15 September.

Your program should be written in standard ANSI C.

The Task

Write a program that prints a neatly formatted list of the values of (n-1)/n for values of n between two input integers.

Here is an example of a run of a successful program for accomplishing this task.

Lower integer: 
100
Upper integer: 
105

     100    0.99000
     101    0.99010
     102    0.99020
     103    0.99029
     104    0.99038
     105    0.99048