while statement again!

Home Forums C Programming while statement again!

This topic contains 1 reply, has 2 voices, and was last updated by  GWILouisaxwzkla 8 years, 11 months ago.

  • Author
    Posts
  • #2165

    Hi everyone,

    Did I do something wrong? I am curious as to why no-one has attempted to point me in the right direction??

    I have to write a C program that finds the average of a list of 5 numbers using while-statement.
    „ Use scanf function to read 5 numbers from keyboard
    „ Use printf function to display the average of a list of numbers on the screen
    „ After displaying the average value, the program should ask user if he/she wants to find the average of another list of numbers

    I have downloaded many tutorials and i find them very difficult to follow, it is kind of like reading a foreign language, i know that most people are probably laughing thinking how simple this is, i will get there eventually!

    Best wishes ……daisy :oops:

  • #3491

    could do:

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble