Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

Heres how the program works It takes the transaction amount as input from the u... 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

Introductory Financial Accounting for Business

Authors: Thomas Edmonds, Christopher Edmonds

1st edition

1260299449, 978-1260299441

More Books

Students also viewed these Databases questions

Question

Did the researcher seek out those who are silent and marginalized?

Answered: 1 week ago