subject

Design an algorithm and draw a flowchart for a company that sells three types of balls: tennis ball (T), billiards ball (B), and rugby ball (R). They sell for $5.00, $7.50, and $10.00 respectively. This algorithm should read two inputs by the user. The first input should be a letter (T or B or R) indicates which type of ball customer want to order. The second input should be a number indicates how many balls the customer has ordered. It should then calculate and print to the screen the total cost of the balls, the sales tax charged at a rate of 7.5% and the total sale including sales tax.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:00
Suppose s, t, and w are strings that have already been created inside main. write a statement or statements, to be added to main, that will determine if the lengths of the three strings are in order by length, smallest to largest. that is, your code should determine if s is strictly shorter than t, and if t is strictly shorter than w. if these conditions hold your code should print (the boolean value) true. if not, your code should print false. (strictly means: no ties) example: if s, t, and w are "cat", "hats", and "skies" your code should print true - their lengths are 3-4-5; but if s, t, and w are "cats" "shirt", and "trust", then print false - their lengths are 4-5-5 enter your code in the box below
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
How are roger williams, james oglethorpe, and william penn similar?
Answers: 3
question
Computers and Technology, 24.06.2019 18:30
Dereck works for long hours on his computer.  he frequently experiences physical strain by the end of the day because he does not follow an important rule of ergonomics with respect to the use of keyboards.  which of the following actions of dereck could lead to physical strain? a.  placing the keyboard exactly in front of him while typingb.  keeping hands and wrists straight while typingc.  using wrist pads throughout the dayd.  pounding at the keys on the keyboard while typinge.  resting his hands on the keyboard when he is not typing
Answers: 1
You know the right answer?
Design an algorithm and draw a flowchart for a company that sells three types of balls: tennis ball...
Questions
question
Mathematics, 29.01.2020 00:08
question
Mathematics, 29.01.2020 00:08
question
Mathematics, 29.01.2020 00:08
question
English, 29.01.2020 00:08
Questions on the website: 13722361