Unit 2 Graded Exercise 4: Decreasing Values in a Loop

profileaducate

Instructions

You will write C code for a program that does the following

  1. Uses a "for" loop.
  2. Asks the user for a number.
  3. Prints the values from that number down to 1. Use any kind of loop  you like to accomplish this. (Hint: You will have to use the decrement  operator (--).  

Deliverables-

  1. A screenshot of your code.
  2. A screenshot of your output including the Title Bar of the console window.
  3. Separately, upload your code file (".c").
  • 4 years ago
  • 20
Answer(3)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    Unit2GradedExercise4.c
  • attachment
    Unit2_GradedExercise4.docx

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    main_1.c
  • attachment
    Program.doc

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    code.png
  • attachment
    running.png
  • attachment
    main.c