Assignment 8

less than 1 minute read

Due: by the end of the calendar day on Thursday, November 21, 2024

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:

  1. An array
  2. A function other than main
  3. A call to scanf to get user input
  4. A call to printf which includes displaying the value from a variable
  5. A for loop
  6. 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

  1. Your .c file which contains your C program
  2. 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.