Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Useing java 2. Write a program that asks the user to enter three test scores. The program should display each test score, as well as

image text in transcribed Useing java
2. Write a program that asks the user to enter three test scores. The program should display each test score, as well as the average o f the scores. An electronics company sells circuit boards at a 40 percent profit. If you know the retail price of a circuit board, you can calculate its profit with the following formula: 3. Profit- Retail price x 0.4 Write a program that asks the user for the retail price o fa circuit board, calculates the amount of profit earned for that product, and displays the results on the screen 4. Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter the charge for the meal. The tax should be 6.75 percent of the meal charge. The tip should be 15 percent of the total after adding the tax. Display the meal charge, tax amount, tip amount, and total bill on the screen. 5. A soft drink company recently surveyed 12,467 of its customers and found that approximately 14 percent of those surveyed purchase one or more energy drinks per week of those customers who purchase energy drinks, approximately 64 percent of them prefer citrus flavored energy drinks. Write a program that displays the following: . The approximate number of customers in the survey who purchase one or more energy drinks per week. The approximate number o f customers in the survey who prefer citrus-flavored en drinks

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions