In C++
int main()
{
int a;
cout<<"enter a number: ";
cin>> a;
cout<< a<<endl;
return 0;
}
if you run this basic program in console (DOS)after compiling, you'll see the result.
===============
how can i write something like this in PHP??
i just want to write and run it in console or IE WITHOUT create a form in IE first. How do I accept a user's input.??
if you know, please answer it.
thank you very much