Question: #THIRD PROGRAM To expand on #Reading the string # Lawrence Lewis # CPT 127.01 str1 = input(Enter the string : ) #Iterating through each character

 #THIRD PROGRAM To expand on #Reading the string # Lawrence Lewis

#THIRD PROGRAM To expand on

#Reading the string # Lawrence Lewis # CPT 127.01

str1 = input("Enter the string : ")

#Iterating through each character in the string for i in str1: #Converting character value to ordinal value and printing the output print (ord(i),end=" ")

Create a program called "fourthprogram.py". A student at CMCC wants to calculate their grade point average. A GPA is calculated by dividing the total number of quality points by the total number of credit hours attempted. Write a program that allows a student to enter the total number of quality points and attempted credit hours and calculates their corresponding GPA as a numeric value. If the GPA is higher than a 4.00 or lower than a 0.00 display an error message, otherwise display the corresponding letter: to to to A A- B+ B B- C+ C to > to is in the range 3.68 is in the range 3.34 is in the range 3.01 is in the range 2.68 is in the range 2.34 is in the range 2.01 is in the range 1.68 is in the range 1.34 is in the range 1.01 is in the range 0.68 is in the range 0.00 to 4.00 3.67 3.33 3.00 2.67 2.33 2.00 1.67 1.33 1.00 0.67 to to D+ to D to F to Create a program called "fifthprogram.py". Expand "thirdprogram.py" - prompt the user for the type of service "Good" worth 18% tip, "Bad" worth 0%, or "OK" worth 15%. Based on the level of service, adjust the tip accordingly. Display the cost of the food (pre-tip and tax), the cost of the tax(pre-tip), the tip, and the total Create a program called "sixthprogram.py". Complete Ch 3, Programming Exercise 7: Color Mixer, on page 152 Create a program called "fourthprogram.py". A student at CMCC wants to calculate their grade point average. A GPA is calculated by dividing the total number of quality points by the total number of credit hours attempted. Write a program that allows a student to enter the total number of quality points and attempted credit hours and calculates their corresponding GPA as a numeric value. If the GPA is higher than a 4.00 or lower than a 0.00 display an error message, otherwise display the corresponding letter: to to to A A- B+ B B- C+ C to > to is in the range 3.68 is in the range 3.34 is in the range 3.01 is in the range 2.68 is in the range 2.34 is in the range 2.01 is in the range 1.68 is in the range 1.34 is in the range 1.01 is in the range 0.68 is in the range 0.00 to 4.00 3.67 3.33 3.00 2.67 2.33 2.00 1.67 1.33 1.00 0.67 to to D+ to D to F to Create a program called "fifthprogram.py". Expand "thirdprogram.py" - prompt the user for the type of service "Good" worth 18% tip, "Bad" worth 0%, or "OK" worth 15%. Based on the level of service, adjust the tip accordingly. Display the cost of the food (pre-tip and tax), the cost of the tax(pre-tip), the tip, and the total Create a program called "sixthprogram.py". Complete Ch 3, Programming Exercise 7: Color Mixer, on page 152

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!