We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ 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

+ 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?


See Your Saved Posts Timeline

Views: 384

.

+ 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)

Replies to This Discussion

#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.

Attachments:

If you want the solution of this Assignment, Kindly Upload The Assignment File...!!!

dear ap logo ny note kia hai assignment me ak jga ghalti hai 

RSS

Latest Activity

Abiha replied to Awais's discussion دل کے دشمن کو مہمان کر رکھا ھے
3 minutes ago
Moureen Max left a comment for Jamila Bano
3 minutes ago
Moureen Max left a comment for Salman Shafiq
3 minutes ago
Moureen Max left a comment for Fatima khan
3 minutes ago
Moureen Max left a comment for muhammad sohail
3 minutes ago
Moureen Max left a comment for Sundus Ayub Kashan
3 minutes ago
Moureen Max left a comment for zubair
5 minutes ago
Moureen Max left a comment for muneeb ishtiaq
5 minutes ago
Moureen Max left a comment for Murad Ali Shah
5 minutes ago
Moureen Max left a comment for aymen yasmeen
7 minutes ago
Moureen Max left a comment for Dawood
7 minutes ago
Moureen Max left a comment for aqsa bhatti
7 minutes ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.