Question: Program1 (1 point): Write a Python program that takes the radius of a circle (a floating-point number) as input and then outputs the circle's diameter
Program1 (1 point): Write a Python program that takes the radius of a circle (a floating-point number) as input and then outputs the circle's diameter and area. It must read the value of PI from the Math module. Outputs should be up to two decimal places only. Program2 (1 point): Write a Python program that prompts the user to enter the temperature in Celsius and then convert the temperature to Fahrenheit, and print out the converted temperature fahrenheit=(celsius1.8)+32 Program3 (1 point): Write a Python program that prompts the user to enter an integer and then print out if that integer is odd or even integer. For example, if the integer entered is 5 , it prints that "This integer is odd." Program4 (1 point): Write a Python program to calculate the weekly gross pay of an employee. It prompts the employee to enter total work hours in a week and pay rate per hour. If the total work hours are more than 40 , then the pay is 50% extra f for hours worked above 40 hours. Input total work hours =50 and pay rate per hour =20 to test your program. Program5 (1 point): Write a program to prompt for a score between 0.0 and 1.0. If the score is between 0.0 and 1.0, print a grade using the following table: ScoreGrade>=0.9.A>=0.8=B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
