Top Answer
User Avatar
Wiki User
Answered 2011-12-19 06:45:34

#include #include #include class student { int roll; char name[25]; char add [25]; char *city; public: student() { cout<<"welcome in the student information system"<\n enter the student roll no."; cin>>roll; cout<<"\n enter the student name"; cin>>name; cout<<\n enter ther student address"; cin>>add; cout<<"\n enter the student city"; cin>>city; } void putdata() { cout<,"\n the student roll no:"<>sub1: cout<<"\n enter the marks2:"; cin>>sub2; cout<<\n enter the marks3:"; cin>>sub3; } void output() { putdata(); cout<<"\n marks1:"<\nmarks2:"<\n marks3:"<\n tottal percentage"<\n2.output data"; cout<<\n3. Calculate percentage"; cout<<\n4.exit"; cout<<\n enter the choice"; cin>>ch; switch (ch) { case 1: m1.input(); count++; break; case2: m1.output(); break; case3: m1.calculate(); break; } } while (ch!=4); }

User Avatar

Your Answer


Still Have Questions?

Related Questions

Who manufactures pro 5 tee shirts?

Pro 5 Does.. Who Else?

What are the release dates for Boost Mobile Pro - 2009 Boost Mobile Pro 5 1-5?

Boost Mobile Pro - 2009 Boost Mobile Pro 5 1-5 was released on: USA: 30 January 2009

What percent of athletes go pro in Kentucky?

About 5% go pro In Kentucky

Can you get data from pro evolution soccer 6 on ps2 to pro evolution soccer 5 on psp?

I don't think you can, because they are different games, you would have to either buy pro evo 6 for psp or pro evo 5 or ps2.

What are the release dates for Real Pro Wrestling - 2005 1-5?

Real Pro Wrestling - 2005 1-5 was released on: USA: 2005

A student must make a 3 M acid solution using a 5 M acid solution Which of these is the safest way to make the solution?

Slowly pour the 5 M acid into the water

How ou get a mini gun in black ops?

Set your kill streaks to care package then get 5 kills (4, if you are using Hardline) then hopefully you will get a death machine. If you got Hardline Pro you got two attempts to get it. I got 3 death machines in one combat training match while using Hardline Pro.

Did all the fab 5 from Michigan go pro?

4 out of 5 did

Why is Jupiter the 5 planet?

this is the pro latu

What the password of pro facebookhacker v1.5?

Pasword Pro Facebook Hack V 1 5 2013,?.......

On webkinz how many levels in the kinzville academy do you have to do to be a pro in style?

To be a pro (professional) you need to reach level 5 in every type (that means if you have all of them at level 5, you'll be able to enter every pro contest.)

What is the student to professor ratio for Princeton University?

The student to professor ratio at Princeton is 5 to 1.

What are the ratings and certificates for Shark - 2006 Student Body 2-5?

Shark - 2006 Student Body 2-5 is rated/received certificates of: USA:TV-14

How do players die in pro evolution 5?

from pane

Was Selena Gomez a smart student?

no she was not a very smart student because she was failed in 5 th grade.

What are the release dates for Murder in Paradise - 2013 Student Body 1-5?

Murder in Paradise - 2013 Student Body 1-5 was released on: USA: May 2013

What is the difference between pro evolution soccer 5 and pro evolution soccer 5 platinum?

nothing- a game becomes platinum when it sells a certain amount, it is then re-released.

How many years has Rajon Rondo been a pro?

Rajon Rondo has been a pro for 5 years going on 6

What is the average size of pro athletes in each pro sport?

5' 9" to 6' 4" 280-300 lbs

How much is replacement line for a Poulan Pro trimmer?

You can expect to pay about $5 for replacement line for a Poulan Pro trimmer.

Is John McCain pro-life or pro-choice?

With 5 years of 0% ratings from NARAL, it is very safe to place McCain in the pro-life camp.

How many combinations of 4 students can you get from a 5 person swimming team?

Any combination of 5 students leaves one student out. Since there are 5 possible students to leave out, the number of combinations of all but one student is 5.

What are the release dates for Student Briefs - 2010 Parents and Children 1-5?

Student Briefs - 2010 Parents and Children 1-5 was released on: USA: 28 January 2010

What is dodging tables for the second class student?


How many numbers are on a student id card?