0

Please help me in C++ do validation please

#include <iostream> #include<cctype> #include<string> using namespace std; void PersonalDetails() { string name1,name2; int age;char gender; char mirital_Status; cout<<"Please Enter Your Fullname: "; cin>>name1>>name2; cout<<"Gender: Please press F for female or M for male: "; cin>>gender; cout<<"Please enter your age: "; cin>>age; cout<<"Marital Status : S for Single; M for Married: "; cin>>mirital_Status; //print out details cout<<"Your Details "<<endl; cout<<"================================="<<

25th Jun 2017, 4:21 PM
Ahaa mark
Ahaa mark - avatar
1 Answer
0
where is the main function?
25th Jun 2017, 4:25 PM
RAHIN RAHIN
RAHIN RAHIN - avatar