-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask3.cpp
More file actions
33 lines (28 loc) · 787 Bytes
/
task3.cpp
File metadata and controls
33 lines (28 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <iostream>
using namespace std;
int main()
{
string fn,ln,ag,co,re,cl,lp;
cout<<"Enter your First Name"<<endl;
cin>>fn;
cout<<"Enter your Last Name"<<endl;
cin>>ln;
cout<<"Enter your Age"<<endl;
cin>>ag;
cout<<"Enter your Color"<<endl;
cin>>co;
cout<<"Enter your Religion"<<endl;
cin>>re;
cout<<"Enter your Class"<<endl;
cin>>cl;
cout<<"Enter last percentage"<<endl;
cin>>lp;
cout<<"Your first name is : "<<fn<<endl;
cout<<"Your last name is : "<<ln<<endl;
cout<<"Your age is : "<<ag<<" years"<<endl;
cout<<"Your color is : "<<co<<endl;
cout<<"Your Religion is : "<<re<<endl;
cout<<"You are in "<<cl<<"th class"<<endl;
cout<<"Your last percentage was "<<lp<<"%"<<endl;
return 0;
}