We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
#include<iostrean.h>
//decalaration of variables, the age will be in whole numbers int age1,age2,age3,age4,age5,age6,age7,age8,age9,age10;
int TotalAge,AverageAge;
//take ages of the students from the user
cout"please enter the age of student 1:";
cin>>age1;
cout"please enter the age of student 2:";
cin>>age2;
cout"please enter the age of student 3:";
cin>>age3;
cout"please enter the age of student 4:";
cin>>age4;
cout"please enter the age of student 5:";
cin>>age5;
cout"please enter the age of student 6:";
cin>>age6;
cout"please enter the age of student 7:";
cin>>age7;
cout"please enter the age of student 8:";
cin>>age8;
cout"please enter the age of student 9:";
cin>>age9;
cout"please enter the age of student 10:";
cin>>age10;
//calculate the total age and average age
Total age=age1+age2+age3+age4+age5+age6+age7+age8+age9+age10;
Average age=Total age/10;
//Display the result (average age)
cout"Average age of class is:"AverageAge;
IS M KYA MISTAKE H PLZ HELP ME KOI HELP KRY Y RUN NH HO RHAI
Tags:
+ How to Follow the New Added Discussions at Your Mail Address?
+ How to Join Subject Study Groups & Get Helping Material? + How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators? + VU Students Reserves The Right to Delete Your Profile, If?.
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)#include using namespace std;
main()
{
int age1,age2,age3,age4,age5,age6,age7,age8,age9,age10;
int TotalAge;
int AverageAge;
cout"Please Enter The Age of First Student:";
cin>> age1;
cout"Please Enter The Age of Second Student:";
cin>> age2;
cout"Please Enter The Age of Third Student:";
cin>> age3;
cout"Please Enter The Age of Fourth Student:";
cin>> age4;
cout"Please Enter The Age of Fifth Student:";
cin>> age5;
cout"Please Enter The Age of sixth Student:";
cin>> age6;
cout"Please Enter The Age of Seventh Student:";
cin>> age7;
cout"Please Enter The Age of Eighth Student:";
cin>> age8;
cout"Please Enter The Age of Nineth Student:";
cin>> age9;
cout"Please Enter The Age of Tenth Student:";
cin>> age10;
TotalAge=age1+age2+age3+age4+age5+age6+age7+age8+age9+age10; AverageAge=TotalAge/10;
cout"The Average Age of All Students is:"AverageAge;
}
please find attachment file.
If you want the solution of this Assignment, Kindly Upload The Assignment File...!!!
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post