3 store + display

icon picker
B message exercise

Can you help prepare a simple advert for the hotel?

requirement

The advert should store a few details about the hotel and present them in clear sentences.

task

This is an example for you will complete a program that has already been started.
Investigate what the code does at the moment. Run the code and read it, look at the output.
Look at the program plan and think about what should be added to make the code complete.
Add the missing code and re-run the program to check that the output now matches the expected output.
You can use the previous example to help you in this exercise.

expected output

The name of the hotel is The Grand
The number of rooms is 75
The star rating is 5

the program code

Loading…
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.