Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Useing java An electronics company sells circuit boards at a 40 percent profit. If you know the retail price of a circuit board, you can
Useing java 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 facircuit 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 energy drinks
Useing java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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 Started