Answer to Question #3352 in C++ for mukunda

Question #3352
Write a program which prints a 10th class student details(Student Name, Roll No, all subjects marks) .
1
Expert's answer
2011-07-19T06:23:13-0400
#include <iostream>
using namespace std;

int main()
{
char name[] = "Mark Twain";
int roll_no = 234234;
int marks_math = 46;
int marks_physics = 58;

cout << "Student details:" << endl;
cout << name << endl;
cout << "Roll No. " << roll_no << endl;
cout << "Mathematics " << marks_math << endl;
cout << "Physics quot; << marks_physics << endl;

return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS