Skip to main content

*~* VuPak2009 *~* Need help

#include<iosteam.h>

Main()

{

Int age1,age2,age3,age4;

Int totalage,averageage;

Cout<<"please enter the age of student1: ";

Cout<<"please enter the age of student2: ";

Cout<<"please enter the age of student3: ";

Cout<<"please enter the age of student4: ";

 

My question is ….  How we calculate the total age … how should we write in c++

 

 

Totalage=age1+age2+age3+age4;   Like this???  

 

 

Averageage=tatalage/10;       Like this???

 

}

--
You received this message because you are subscribed to the Google Groups "Virtual University of Pakistan 2009" group.
To post to this group, send email to virtual-university-of-pakistan-2009@googlegroups.com.
To unsubscribe from this group, send email to virtual-university-of-pakistan-2009+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/virtual-university-of-pakistan-2009?hl=en.

Comments

Popular posts from this blog

)))))))Vu & Company((((((( Great Snaps

Error! Filename not specified. Error! Filename not specified.   -- BEST REGARDS Muhammad Ilyas   . .*) .*) ..*) .*) (. (.` * '...**,''',...LOVE PAKISTAN...... ******************************** -- You received this message because you are subscribed to the Google Groups "Vu and Company" group. To post to this group, send email to vu-and-company@googlegroups.com. To unsubscribe from this group, send email to vu-and-company+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/vu-and-company?hl=en.

Re: )))))))Vu & Company((((((( : Amazing Art on Human Faces

wao great.  On Mon, Dec 13, 2010 at 5:12 PM, Muhammad Ilyas < mmilyaskhan@gmail.com > wrote:     Amazing Art on Human Faces                           -- BEST REGARDS Muhammad Ilyas   . .*) .*) ..*) .*) (. (.` * '...**,''',...LOVE PAKISTAN...... ******************************** -- You received this message because you are subscribed to the Google Groups "Vu and Company" group. To post to this group, send email to vu-and-company@googlegroups.com . To unsubscribe from this group, send email to vu-and-company+unsubscribe@googlegroups.com . For more options, visit this group at http://groups.google.com/group/vu-and-company?hl=en . -- You received this message because you are subscribed to the Google Groups "Vu and Company" group. To post to ...

)))))))Vu & Company((((((( Re: {**STAR~FRIEND**} Cute Pictures

bohtttttttttttttttttttttt cuteeeeeeeeeeeeee hain jiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii On Wed, Dec 15, 2010 at 6:37 PM, Muhammad Ilyas < mmilyaskhan@gmail.com > wrote:   Cute Pictures               -- BEST REGARDS Muhammad Ilyas   . .*) .*) ..*) .*) (. (.` * '...**,''',...LOVE PAKISTAN...... ******************************** -- You received this message because you are subscribed to the Google Groups "STAR FRIENDS GROUP" group. To post to this group, send email to star-friends-group@googlegroups.com To unsubscribe from this group, send email to star-friends-group+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/star-friends-group?hl=en_US?hl=en --                     NeVER ...