Search This Blog

Wednesday, December 26, 2012

Is cin a function or object in c?

cin is an object........
An Example is
#include
using namespace std;
int main(){
int age;


cout << "How Old Are You?\n";
cin >> age;
cout << "You are << age << years old\n";

system("pause")

return 0;
}

No comments:

Post a Comment

Thank you