Add the 3 program comments at the top of the program with the information needed:
Name:
Date:
Program:
Set appropriate variables for the maximum and minimum order amounts
Set an appropriate variable for the price per pound of 7.99
Get the order amount input and cast to a number and store it in a variable (Since it can contain decimals, what kind of number cast should you use?)
Write an if structure that compares the input value with the minimum and maximum values according to the creiteria below:
if over the maximum of 100 return a message indicating that
if under minimum of 0.25 return a message indicating that
if within the allowed range return a message with the calculated price rounded to 2 decimal places!
Test your program extensivel and compare with the example output below
Computers and Technology
Views: 0 Asked: 09-10 20:42:32
On this page you can find the answer to the question of the computers and technology category, and also ask your own question
Other questions in category
- 50+ Points Brainlist the best answer
- List and describe the three types of reports.
- Choose all items that represent characteristics of a work samples....
- How many 2/8 pound patties can she make from 7/8 of a pound of hamburger...
- Write a split_check function that returns the amount that each diner must pay to cover the cost of t...
- The system's menu screen of a television allows the user to adjust the brightness and color composit...
- Implement a simplified version of a crypto broker platform. Initially, there is an array of users, w...
- You need a(n) _____ to play an mp3 audio file on a desktop or laptop computer...
- Suppose that a particular algorithm has time complexity T(n) = 3 \times 2^nT(n)=3×2 n and that e...
- States and explain 10 uses of computer in your field of studies...