Classwork 2 - UMBC-CMSC104/General GitHub Wiki

In this classwork, we're going to write a C program that prints out the following:

One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten

I also want you to make sure each line is a separate call to printf.

First, you'll want to either create or change into your classwork 2 directory (cw02).

Starting editing your code by typing in

nano count_up.c

After editing your code, to test it out, type

gcc count_up.c -o count_up
./count_up

If it works, that's great! Submit it by typing

submit cs104_wilson cw02 count_up.c

Notes