Write a program in c++ to read the name,age,sex,height and weight of a student and display with proper heading for each variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 6

Write a program in c++ to read the name,age,sex,height and weight of a student and display with proper heading for each variable

13th Feb 2018, 4:45 PM
James Ngai
James Ngai - avatar
13 Answers
+ 3
14th Feb 2018, 5:09 AM
Manual
Manual - avatar
0
hi
29th Jun 2018, 3:58 AM
KING LOGESH
KING LOGESH - avatar
0
hi
17th Nov 2018, 3:46 PM
rizkyfauzirahmt
0
Right
20th Jun 2019, 5:35 PM
Parul Gupta
Parul Gupta - avatar
0
False because , Where is display?
2nd Jul 2019, 11:58 AM
MohammadAli Valiollahi
MohammadAli Valiollahi - avatar
0
how to display names and age of their family?by using c language?
22nd Sep 2019, 12:33 PM
Tyanna May Miral
Tyanna May Miral - avatar
0
#include<iostream.h> #include<conio.h> void main() { int age,height,weight; char name,sex; clrscr(); cout<<"enter the name"<<endl; cin>>name; cout<<"enter the gender"<<endl; cin>>gender; cout<<"enter the sex"<<endl; cin>>sex; cout<<"enter the age"<<endl; cin>>age; cout<<"enter the weight"<<endl; cin>>weight; cout<<"enter the height"<<endl; cin>>height; cout<<"the name is"<<name; cout<<"the sex is"<<sex; cout<<"the age is"<<age; cout<<"the height is"<<height; cout<<"the weight is"<<weight; getch(); }
9th Jan 2021, 9:46 AM
Madhumitha
0
Write a program in C++ to display your name , level , sex , MatNo and proposed grade Print your output
2nd Feb 2021, 3:33 PM
Onikeku Oreoluwa Oluwafunmilola
Onikeku Oreoluwa Oluwafunmilola - avatar
0
Write a simple c++ program that will accepts the following inputs, Name, Accept age, Accept Mariter status. I need help
11th Oct 2021, 10:01 AM
Thibaut Courtois
Thibaut Courtois - avatar
0
#include <iostream> Using namespace std; Int main() { Int name,age,school,class; Coir<<‘’enter name:”; Cin>>name Cout<<“age:”; Cin>>age Cout<<“enter school:”; Cin<<school:; return o; }
30th Mar 2022, 11:22 PM
QwEsi BuTic
0
nice
30th Jun 2022, 12:55 PM
Ritu Raj Jha
Ritu Raj Jha - avatar
0
write a c++ that reads from the keyboard, the First Name, Age, Weight in kilograms and height in meters of all the stuffs in a company, and calculate their body of mass respectively
14th Jul 2022, 8:15 PM
Adu Berko Bernice
- 1
#include<iostream> Using namespace std; Int main() { Char name ,sex; Int age,hight,weight; Cout <<"name"; Cin>>name; Cout <<"age"; Cin>>age; Cout <<"sex"; Cin>>sex; Cout <<"height"; Cin>>height; Cout <<"weight"; Cin>>weight: return 0; }
2nd Feb 2019, 7:42 AM
Bhavesh Sahu