Computer Science, asked by kiranmahapatra3, 1 year ago

write a program to imput name, age, and date of birth and displays using the import method

Answers

Answered by vishal244
1
#include <iostream> using namespace std; #define MAX_LENGTH 100 int main() { char name[MAX_LENGTH]={0}; int age; cout<<"Enter name of the person: "; cin.getline(name,MAX_LENGTH); cout<<"Enter age: "; cin>>age; cout<<"Name: "<<name<<endl; cout<<"Age: "<<age<<endl; return 0;

kiranmahapatra3: Didn't get
kiranmahapatra3: please make me understand
vishal244: what
kiranmahapatra3: this programme
vishal244: hh
vishal244: glt h kya
kiranmahapatra3: hm
Similar questions