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 

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

1 Expert Approved Answer
Step: 1 Unlock

Heres how the program works It takes the transaction amount as input from the u... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!