3. (OSPercentage java) A software company uses the computers with three operatin
ID: 3876535 • Letter: 3
Question
3. (OSPercentage java) A software company uses the computers with three operating systems: Mac, Linux, and Windows Write a program that prompts the user to enter the number computers with Mac, Linux, and Windows respectively, then calculates and prints the total number of computers and the percentage of each OS Sample run: operating System Usage Prog ranm Enter the number of computers with Mac OS: 25 Enter the number of computers with Linux os: 38 Enter the number of computers with Windows os: 60 The computer information: > 28. to Foubla 2- Mac: 25 Linux: 38 Windows: 60 Total Number of Computers: 123 Percentage of Mac: 20.32520 325203252 Percentage of Linux: 30.89430894308943 Percentage of Windows: 48.78048780487805 (Revenue-Java) The movie tickets $25.99 for each visitor, and senior citizens receive 30% discount. The estimate of spending on food/drink is $ 12.99 per visitor Write a program that prompts the user to enter the number of visitors including seniors, then calculates and outputs the revenue for each group and the total revenue. Sample run: Revenue Prog ram Enter the number of seniors: 58 Enter the number of non-seniors: 250 The Revenue information:Explanation / Answer
=========================================================================
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.