Assignment #0: Hello, world

Objectives

Assignment

Write a program in a single file called hello.c (case-sensitive) that prints Hello, world! as the first line of output. Note that that first line contains a single space to delimit the words and a newline character at the end. It is also case- and punctuation-sensitive. You may output anything or nothing after the first line.

Example

[jrg94@giraffe Hello]$ ./Hello
Hello, world!

I have family in Seattle.  I like to visit in the summer because the weather
is usually cooler than at home.  This June I was there for their first
stretch of 3 consecutive days of 100+ temperatures.

Submissions

Submit just your hello.c file and your log. Your log need not contain a statement of major difficulties for this assignment, so you can ignore the boilerplate warnings about a possible manual deduction for that; the same goes for all the warnings about deductions for makefiles since you need not submit a makefile (it is copied from /c/cs223/hw0/Optional).
[jrg94@scorpion Hello]$ /c/cs223/bin/submit 0 hello.c log
[jrg94@scorpion Hello]$ /c/cs223/bin/testit 0 Hello
/home/classes/cs223/Hwk0/test.Hello
Copying makefile
Executing /home/classes/cs223/Hwk0/test.Hello

Public test script for Hello (08/31/2021)

***** Checking for warning messages *****
Making -B ./Hello
gcc -o Hello -std=c99 -Wall -pedantic -g hello.c

Each test is either passed or failed; there is no partial credit.

To execute the test labelled IJ, type one of the following commands
depending on whether the file /c/cs223/hw0/Tests/tIJ is executable or not
     /c/cs223/hw0/Tests/tIJ
     ./Hello < /c/cs223/hw0/Tests/tIJ
The answer expected is in /c/cs223/hw0/Tests/tIJ.out.


           Tests
PASSED  001. First Line
PASSED  002. Do not crash

           Tests: 2 points

               Deductions for Violating Specification (0 => no violation)

End of Public Script

  2 points Total for Hello

           Possible Deductions (assessed later as appropriate)
               -10 Deficient style (comments, identifiers, formatting, ...)
                -5 Does not make
                -5 Makefile missing
                -5 Makefile incorrect
                -1 Log file incorrectly named
                -1 Log file lacks estimated time
                -1 Log file lacks total time
                -1 Log file lacks statement of major difficulties

***** Checking log file *****
Estimate: 0:01 ESTIMATE
Total: 0:05 TOTAL time spent

***** Checking makefile *****