Question: Assume that the variable float sale amt contains the dollar amount of a sales transaction, e.g. $1,500, Write a flow of control statement that
Assume that the variable float sale amt contains the dollar amount of a sales transaction, e.g. $1,500, Write a flow of control statement that does the following: If the transaction amount is $10,000 or less, assess a 7% sales tax. o Display the amount of the transaction, plus tax. . If the transaction amount more than $10,000, assess a 5% sales tax. Display the amount of the transaction, plus tax. For example: If the user enters 1200, the output is: 1284 If the user enters 24000, the output is: 25200
Step by Step Solution
3.27 Rating (156 Votes )
There are 3 Steps involved in it
Heres how the program works It takes the transaction amount as input from the u... View full answer
Get step-by-step solutions from verified subject matter experts
