Skip to content

Latest commit

 

History

History

exercise_00

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Exercise 00 - Hello REE!

GitHub

Watch this video first! <- Click here or on the thumbnail below!

Watch this video first!

This first exercise is a warm-up exercise to get you started with the Coding Challenge 2022.

The task

All you need to do is to print the string Hello REE! to the console as well as a delimiter before and after the message.

The delimiter is a string that consists of n characters that may be chosen arbitrarily but often used are - or =.

The default/maximum terminal width in the early days of UNIX was 80 characters.

Computers in 1977

The template code includes a #define that defines the terminal width to be 80 characters. Use that!

The output should look like this:

================================================================================
Hello REE!
================================================================================

And done!

Happy coding!

And remember: Don't Panic!

Where is the code?

The template code

Click on the src folder above. Then, click on the main.c file. This will open the template code in your browser. You can then copy/paste the code into your IDE or download the file.

./src/main.c

The solution code

The solution code is in the solution folder.

./solution/main.c

Intro video

Watch the video on YouTube <- Click here or on the thumbnail below!

Watch this video first!

Solution video

Watch the video on YouTube <- Click here or on the thumbnail below!

Watch this video first!