Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

7. Where Do We Begin?

Answered: 1 week ago

Question

a. What is the purpose of the team?

Answered: 1 week ago