63 838
Assignments Done
99,2%
Successfully Done
In August 2018

Answer to Question #24198 in C++ for Nourh

Question #24198
Write a function called GreetUser that takes in a person’s name and print “Hello, ____” to the screen (where “_____” is replaced by the person’s name).
Expert's answer
#include<iostream>
using namespace std;
& void GreetUser(char *a){
cout<<"Hello, "<<a<<endl;

}
int main (){
char a[50];
cout<<"Enter your name : ";
cin>>a;
GreetUser(a);
&
system("PAUSE"); &
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions