+ 1
Write program that take name from user and print it as output in php?
4 Respostas
+ 3
document.write("your name is"+prompt('enter your name')+"!");
+ 1
What language? Are you asking for a help or for some kind of a challenge? If its challenge here is my c++ code for that
#include <iostream>
using namespace std;
int main {
string name;
cin >> name;
cout << name;
return 0;
}
+ 1
#include <iostream>
using namespace std;
int main() {
string name;
cout << "Enter name: ";
cin >> name;
cout << endl;
cout << "your name is "<<name;
return 0;
}
+ 1
@Hassan Gujjar
why you change the topic you trying to make us look bad?