Question: These exercises are from the chapter - 3 and 4 , Algorithm workbench ( I made some changes ) . Each exercise is worth 1

These exercises are from the chapter-3 and 4, Algorithm workbench (I made some changes). Each exercise is worth 10 points.
Problem-1:
Ask the user to enter the speed of his/her car. Write an if-else statement that displays Speed is normalif the speed variable is within the range of 24 to 56(inclusive). If the speed variables value is outside this range, display Speed is abnormal. ask
Problem-2:
Ask the user to enter points for his exam. Write an if-else statement that determines whether the points variable is outside the range of 9 to 51. If the variables value is outside this range it should display Invalid points. Otherwise, it should display Valid points.
Problem-3:
Write awhileloop that display the following set of numbers. 10 to 500, every 10 number. Make sure to print all the numbers on thesame line like this. (2 point for this)
Expected output:
10,20,30,40,50,60,70,..,500.
Problem-4:
Write a while loop that display your name 5 times to the screen. NOTE: Please write your own name :)
Sample output:
Nidhi Tilak
Nidhi Tilak
Nidhi Tilak
Nidhi Tilak
Write a while loop that display the following set of numbers. 10 to 500, every 10 number. Make sure to print all the numbers on the same line like this. (2 point for this)
Expected output:
\(10,20,30,40,50,60,70\),
Problem-4:
Write a while loop that display your name 5 times to the screen. NOTE: Please write your own name :)
Sample output: \(\square \)
Nidhi Tilak
Nidhi Tilak
Nidhi Tilak
Nidhi Tilak
These exercises are from the chapter - 3 and 4 ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!