#include <iostream>
using namespace std;
int main()
{
char name[30], ID[10], phone[15];
cout << "Enter Your Name : ";
cin.getline(name,30);
cout<<"Enter Your ID Number : ";
cin.getline(ID,10);
cout<<"Enter Your Phone Number : ";
cin.getline(phone,15);
cout<< "Your Name: "<<name<<
" Your ID: "<<ID<<
" Your Phone: "<<phone<<endl;
return 0;
}
ScreenShot Programnya bisa sobat lihat pada gambar dibawah.......
0 Response to "Basic Input Output - Program input identitas pada C++"
Posting Komentar