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
Step: 1
Heres how the program works It takes the transaction amount as input from the u...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Introductory Financial Accounting for Business
Authors: Thomas Edmonds, Christopher Edmonds
1st edition
1260299449, 978-1260299441
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App