Let's practice a few programs.
How to practice
The following widgets contain all of the correct steps in random order. Drag and drop the steps to arrange them into the correct sequence.
Display the quotient
Arranged correctly, the following program displays the quotient of two values input by the user with the appropriate prompt messages.
Calculate monthly salary
Arranged correctly, the following program takes the input of an annual salary with a suitable prompt and displays the monthly salary after dividing it by .
Convert weeks to days
Arranged correctly, the following program takes the input of a number of weeks from the user and displays the number of days in the same period.
Convert Celsius to Fahrenheit
Arranged correctly, the following program takes the input of a temperature in Celsius and displays the same temperature in Fahrenheit.
Get hands-on with 1400+ tech skills courses.