Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sum of Two Numbers Write a program that stores the integers 62 and 99 in variables, and stores the sum of these two in a

image text in transcribed
Sum of Two Numbers Write a program that stores the integers 62 and 99 in variables, and stores the sum of these two in a variable named total. Display the total on the screen. Sales Prediction The East Coast sales division of a company generates 62 percent of total sales. Based on that percentage, write a program that will predict how much the East Coast division will generate if the company has $4.6 million in sales this year. Display the result on the screen. Sales Tax Write a program that computes the total sales tax on a $52 purchase. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. Display the purchase price, state tax, county tax, and total tax amounts on the screen. Restaurant Bill Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge. The tax should be 6.75 percent of the meal cost The tip should be 15 percent of the total after adding the tax. Display the meal cost, tax |amount, tip amount, and total bill on the screen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago