Write program that take name from user and print it as output in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write program that take name from user and print it as output in php?

14th Dec 2017, 6:46 PM
Hassan Gujjar
Hassan Gujjar - avatar
4 Answers
+ 3
document.write("your name is"+prompt('enter your name')+"!");
14th Dec 2017, 7:07 PM
แ Œแ ŒBrains[Abidemi]
แ Œแ ŒBrains[Abidemi] - avatar
+ 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; }
14th Dec 2017, 7:03 PM
Ice
Ice - avatar
+ 1
#include <iostream> using namespace std; int main() { string name; cout << "Enter name: "; cin >> name; cout << endl; cout << "your name is "<<name; return 0; }
14th Dec 2017, 7:04 PM
Mind To Machine ๐Ÿ’ป๐Ÿ•†
Mind To Machine ๐Ÿ’ป๐Ÿ•† - avatar
+ 1
@Hassan Gujjar why you change the topic you trying to make us look bad?
14th Dec 2017, 7:08 PM
Mind To Machine ๐Ÿ’ป๐Ÿ•†
Mind To Machine ๐Ÿ’ป๐Ÿ•† - avatar