CMIS 412

ebote
Homework13.pdf

Homework 1 – Writing a simple C program

The purpose of this assignment is to familiarize yourself with writing simple C programs.

For this assignment we will be using a free web-based IDE for C. You can find it at https://replit.com/

Follow these steps:

Follow the link, https://replit.com/, click the “Start Coding” button and login (you have several options).

When prompted for the programming language, pick C.

Click “Create Repl” button.

You will be shown the following C code by default:

You should use the editor to modify it by including your name in the displayed message (see the

screenshot below):

printf("Hello World! My name is _place_your_name_here_.\n");

Then you should compile and run this code with the “Run” button. Notice a nice greetings message with

your name included in it in the Console frame.

Finally, you should capture a screenshot from Replit.com with your program’s execution (just like the

above screenshot) and save it on your computer in a graphics file like “hw1.png” or ”hw1.gif” or

“hw1.pdf”, etc.

Please submit this file under the Homework 1 assignment.