Lesson 2 – Inputs, outputs and variables

You have 4 tasks to do . Remember to use the #Comment function for each of your tasks.
Task 1 . Write a program that will allow the user to input their name and age and then output the name and age that have been entered on the screen.
Task 2. Write a program that will allow the user to input their name and then output the name joined with a greeting in the format: “Hello Joe”.
Task 3. Write a program, which does the following:
Asks for your current level in all of your subjects
Stores the inputs in different, suitably named variables
Displays your current levels in an organised, well-presented report on the screen.
Task 4. Write a program, which does the following:
Asks three questions
Stores the inputs in different, suitably named variables
Displays the answers in an organised, well-presented report on the screen.

Scroll to Top