Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c language (number 2) ENGR 1732 B Spring 2020 Lab 3 Note: Write 5-steps for solutions for both problems. Problem 1: Write a program which

c language (number 2) image text in transcribed
ENGR 1732 B Spring 2020 Lab 3 Note: Write 5-steps for solutions for both problems. Problem 1: Write a program which will ask a user to enter a temperature in degree Fahrenheit. If the temperature is less than 97.5 print Temperature below normal. If the temperature is in between 97.5 and 99.5, print "Temperature normal". If the temperature is in between 99.5 and 103.0, print "Temperature slightly high". If the temperature is more than 103 display "Temperature too high". Use if-else if to write this program Problem 2: The cost of sending a package by an express delivery service is $15.00 for the first two pounds, and $5.00 for each pound or fraction of a pound over two pounds. If the package weighs more than 70 pounds, a $15.00 excess weight surcharge is added to the cost. No package over 100 pounds will be accepted. Write a program that accepts the weight of a package in pounds and computes the cost of mailing the package. Be sure to handle the case of overweight packages

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

Step: 3

blur-text-image

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

Excel 2024 In 7 Days

Authors: Alan Dinkins

1st Edition

B0CJ3X98XK, 979-8861224000

More Books

Students also viewed these Databases questions

Question

Be relaxed at the hips

Answered: 1 week ago