Challenge for Arrays and Strings
Challenge
For each word
, you are given, print "Hello {word}!".
(Replace {word} with the given word).
In C++ (which we're using, despite this module being on C), you can use cout << variable
to print variable
to output and use '\n'
for a newline. For example, cout << "Hello" << '\n';
will print "Hello" on a newline.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.