Question: ICS 3 C - 3 U Python Assignment # 2 Due Date: Selection and Repetition Each program must be named correctly. Each must have a

ICS3C-3U
Python Assignment #2
Due Date:
Selection and Repetition
Each program must be named correctly. Each must have a "header" comment at the start. Header should include your name and the purpose of the program.
CHOOSE ANY THREE OF THESE SIX QUESTIONS
QUESTION 1(name: PA2-SmallMediumLarge)
Create a program that asks the user for three numbers (which could be decimal values) and decide which number is larger, which is smallest, and which is in the middle. Display the numbers in order. Have your program repeat this process 4 times.
QUESTION 2(name: PA2-Counting)
Create a program that asks the user for a start value, and end value and a counting value. Then display all the numbers from "start" to "end" by increases of the counting value. Warn the user if the start value is more than the end value, and re-ask the user.
Extra: Instead of re-asking the user for a correction when the start value is more than the end value, just have the program display the numbers counting downwards.
QUESTION 3(name: PA2-ReportCard)
Create a program which asks the user for 4 grades (numbers) from this semester. Count how many credits the user achieved. Display a message for how many credits are achieved. Also calculate the average of the four grades, and display the average rounded off to 1 decimal place. For an average of 80% or more, also display a message such as "You receive an Honour Roll award for an average of more than 80%. Congratulations!"
 ICS3C-3U Python Assignment #2 Due Date: Selection and Repetition Each program

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 Databases Questions!