CMIS 102 Week 1 Hands-On Lab

CMIS 102 Week 1 Hands-On Lab This hands-on lab demonstrate a simple sequential print statements using an online C compiler such as ideone.com. You should follow the instructions to complete the lab as well as perform the learning exercises at the end of this lab. Instructions 1. Open up any online C compiler (e.g ideone.com). 2. Be sure the C Language is selected. 3. Enter the code below into the editor. (Note: LEO doesn’t let you just copy and paste from this document so you can either download the document and then copy and paste or just go to the Code for HelloWorld link for this week and copy and paste from there.) 4. Click the submit, or run button. 5. Try the additional learning exercises on the next page. Here is what Hello, World! Looks like using ideone.com after it has successfully run Hello, World C code 1 2 3 4 5 6 #include   int main(void) {    printf(“Hello, World!”);    return 0; } Learning Exercises for you to complete 1. Remove the semi-colon (;) at the end of this statement: 1 printf(“Hello, World!”); 2. Describe what happens. Why is the semi-colon needed? 3. What happens if you add another printf statement such as: 1 printf(“Goodbye”); after the printf(“Hello, World!”); line? 4. Describe the new output. Be sure to support your description with screen captures of executing the new code. 5. Experiment by adding additional printf statements to your code such as: 1 2 printf(“Goodbye n”); printf(“Hello, again! n”); 6. What does the “n”� do to the output?

Previous answers to this question


This is a preview of an assignment submitted on our website by a student. If you need help with this question or any assignment help, click on the order button below and get started. We guarantee authentic, quality, 100% plagiarism free work or your money back.

order uk best essays Get The Answer
Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *