Wednesday, November 23, 2016

Submit a neatly organized word (or PDF) document that demonstrates you successfully executed the Hello,World – Online Homework Help


Submit a neatly organized word (or PDF) document that demonstrates you successfully executed the Hello,World on your machine using an online compiler. You should provide a screen capture of the resulting output.
Learning Exercises for you to complete 1.
1. Remove the semi-colon (;) at the end of this statement:
printf(“Hello, World!”);
Describe what happens. Why is the semi-colon needed?
2. What happens if you add another printf statement such as:
printf(“Goodbye”);
after the printf(“Hello, World!”); line?
Describe the new output. Be sure to support your description with screen captures of executing the new code
3. Experiment by adding additional printf statements to your code such as: printf(“Goodbye \n”);
printf(“Hello, again! \n”);
What does the “\n” do to the output?

No comments:

Post a Comment