Task 3 of 8 · 0 solved · 8 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

3.1 Methods — say hello

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in the body of sayHello so that it prints exactly Hello!.

main already calls the method for you — look at how the two fit together in one program.

Your solution