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).
1
Expert's answer
2013-02-18T08:17:34-0500
#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"); & }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment