- 1. Print hello world! with a newline
- 2. Declare an int
- 3. Declare a string
- 4. Use rand() to set the value of the int between 0 and 9 (0, 1, ..., 8, 9)
- 5. Use scanf to set the value of the string
- 6. Print the int
- 7. Print the string
bacon
eggs
ham
cheese
bread
succeeded!./run.sh
Hello World!
gram
7
gram