average of seven numbers

Nov 10, 2013 at 12:08pm
Write your question here.
hi :)
i am new in beginners,.,.i need help,.,i am confused in cin and cout,.,.,i mean where they will be used in what condition,.,.,???secondly have question in my book that is write a program that obtains the average of seven numbers entered from the key board.there should be suitable prompts for the entry of data.the output should contain explanatory text,.,.,what that exactly mean,.,.i didnt got that,.,.plz help

Nov 10, 2013 at 12:14pm
See the tutorial page on Basic Input/Output
http://www.cplusplus.com/doc/tutorial/basic_io/

(or re-read the pages in your book which cover this topic).
Nov 10, 2013 at 12:17pm
and what about program?can u help me?
Nov 10, 2013 at 12:18pm
If you don't understand the use of cin and cout, you won't be able to solve the practice problem of finding the average of seven numbers, cout - is used when yu want to display something on the screen be it text or numbers.
While cin - is the opposite of cout, cin is used enter a text or number to the program!
Nov 10, 2013 at 12:21pm
thank you to both of you i got that about cin and cout,,.,.,:)
buh this prog seems to be quite difficult for me:/
Nov 10, 2013 at 12:25pm
and what about program?can u help me?
Well, start out with a simplified version. Try to get a single number and output its value afterwards. When you have that working, think about what else you need in order to complete the task.
Nov 10, 2013 at 12:27pm
ok,.,.,i am trying
Topic archived. No new replies allowed.