Assignment 8
Assignment Requirements
Write a C program to show off what you’ve learned so far. It should be an original program - so it will be different than the work of other students even if you are helping each other. It can do anything you want as long as it includes each of the following used in some meaningful way:
- An array
- A function other than
main
- A call to
scanf
to get user input - A call to
printf
which includes displaying the value from a variable - A
for
loop - Comments which include
- At the top: your name
- At the top: a description of what your program does
- Throughout the program: indicate where you’re doing each of items 1-5.
Grading
This is a 4-point assignment. See the rubric from the syllabus.
What to turn in
Turn in the following items
- Your
.c
file which contains your C program - A
.txt
file (you can use Notepad, TextEdit, or even Visual Studio Code) where you paste in a sample run of your program that shows how it worked when you ran it
Where to turn it in
Submit your files to the Assignment 8 hand-in form on Blackboard.