company has 5 stores {1, 2, 3, 4, 5}. The sales for each store is as follows: {200, 300, 400, 500, 600}. The tax rate is 6% Write a java program that: 1) Calculates the sales tax for each store and the total sales tax for the company
Q: Identify and explain two advantages and two disadvantages of Web-based experiments. What kinds of…
A: Answer:
Q: Compare Structured and Agile Development methodologies.
A: Structure Development Method:- It is combination of Waterfall model with agile methodologies where…
Q: What is soft ware Quality management system.
A:
Q: question 11 true or false please quickly thanks The Scrum method is an agile method that provides…
A: :: Solution:: True Scrum is an agile way to manage a project, usually software development The Agile…
Q: Free Response Question: 28. Write a method that will return true if a randomly generated number…
A: Solution: Method Implementation: public static boolean FortyPercentOrLess(){ Random randI…
Q: In the styles.css file, add the ul selector to the CSS reset style rule. Remove the declaration for…
A: Introduction CSS selectors: For style reasons, the HTML component(s) are selected using just a CSS…
Q: true or false please quickly thanks In plan-driven development, specification, design,…
A: False is the right answer as the statement corresponds to the Agile Development. Agile development…
Q: In Kerberos, Alice receives a reply, how does she know it came from Bob (that it's not a replay of…
A: Solution: Given, In Kerberos, When Alice receives a reply, how does she know it came from Bob…
Q: What is software analysis and design?
A:
Q: What are the requirements for the use of a public-key certificate scheme?
A:
Q: Consider the following disk characteristics: Average seek time = 8 msec Average rotational delay = 3…
A: Given data of the problem is: Average seek time = 8 msec Average rotational delay = 3 msec Maximum…
Q: Definition, purpose, and importance of SDG7
A: By 2030, everyone must have access to "cheap, reliable, sustainable, and contemporary energy." This…
Q: Given: Task: (11011110)2-(1FE) 16 X (12)8 / 210 Calculate the result of the operations performed on…
A: The complete answer is below:
Q: What is used to indicate a weak relationship in an ERD in Crow’s Foot notation? Dashed line…
A: Crow's Foot notation:- It uses different type of unique shapes and symbols to represent the elements…
Q: What is NOT another name for an associative entity? Linking table Bridge entity…
A: An Association Entity in the Business Data Model (BDM) represents a mapping between two base…
Q: Code in Java using Do-while Loop Write a program that accepts an integer input. If the integer…
A: Code in Java using Do-while Loop
Q: can you show where indent is required
A: In this question we have to correct the indent the python code Let's code, hope this helps and I…
Q: Write the code that opens an output file with the filename fifty.txt, uses a loop to write the…
A: Introduction One of the simplest languages to learn and operate with is Python. It can be used for…
Q: Write a string class. To avoid conflicts with other similarly named classes, we will call our…
A: PLS Finf the attached code of the given question
Q: In JAVA Write a program that simulates a simple dice game between the computer and the user. When…
A: I have provided JAVA CODE along with OUTPUT SCREENSHOT------------------
Q: The current year and the year in which employee joined the organization are entered through…
A: Solution: Solution in java language
Q: What is true about normalization? It adds layers of data redundancy. It reduces the…
A: Database Management System (or DBMS) Essentially nothing more than a computer-based data storage…
Q: In Kerberos, when Bob receives a ticket from Alice, how does he know it is genuine?
A:
Q: MY QUESTION: How do I add the font "lora" to the main style rule?
A: So, first of all what are CSS Style rules : CSS comprises of style rules interpreted by the browser…
Q: 2. Eliminate left factoring in the following grammar S ► a/ab/abc/abcd1.1.10 im? 22
A: Left Recursion:- Left recursion is a form of recursion in which the first recursive call is the last…
Q: 3. Create a sequence that generates integers starting with the value 5. Each value should be three…
A: Given To create sql sequece Like :- 5,3.........,0.
Q: Describe how the system UI of Bank represent design implications: attention, perception, memory and…
A: The question has been answered in step2
Q: Assume that only 1% of the network traffic are real attacks. Assume that the detection rate of an…
A: This is very simple. By the given data we can conclude that, True Positive = 87True Negative =…
Q: Write a C# Sharp program that takes distance and time as input (in text boxes) and displays the…
A: Step 1/1 using System;class HelloWorld { static void Main() { Console.WriteLine("Enter distacne…
Q: What is formal specification language?
A: In the given question the representation used in formal methods is called a formal specification…
Q: functional
A: Introduction The functional database is a kind of database that is demonstrated on the MySQL pattern…
Q: Question 1 We are given a tree of height larger than h. Write an algorithm that finds a tree…
A: Height of Tree:- The greatest number of edges along the route from a leaf node to a target node…
Q: ▾ Problem 1 Write a generator for the Fibonacci Numbers Build a generator that returns the Fibonacci…
A: Here is the python code of the above problem. See below steps for code and output.
Q: import math EPSILON = 1.0e-14 def square_root(number): approximation = 1 previous = 0 iterations = 0…
A: Here, I've established a while loop that will run indefinitely if the response is positive. I have…
Q: Question 3: a. Show the result of inserting 3, 1, 4, 6, 9, 2, 5, 7 into an initially empty binary…
A: Trees are non-linear, hierarchical data structures composed of a collection of nodes such that each…
Q: What is a key feature of fourth normal form? It breaks tables down into as many tables as…
A: Introduction of the fourth normal form: Multi-value dependency occurs when the existence of…
Q: DO THIS IN C-Sharp (C#) Create a file called Fraction.cs that contains a class called Fraction.…
A: ************************************************* Code starts here…
Q: i need answer quickly
A: Below I have provided a program for the given question. Also, I have attached a screenshot of the…
Q: .Write a Java program to implement Warshall's Algorithm to find the transitive closure of a Graph…
A: Programming is the process of creating a set of instructions that tell a computer how to perform a…
Q: #45.! Consider the following bit stream- a. 00000000 b. 11111111 c. 01010101 d. 00110011 Draw the…
A: Signal An electrical or electromagnetic current used to transmit data from one device or network to…
Q: Write a SQL statement to create the following tow tables: Students table STD_ID STD_NAME COURSE_NO…
A: Solution: Given,
Q: Given the initial tables in our example database, the organization would like to remove a playlist.…
A: A relational database which refers to the collection of information that organizes data in…
Q: • This program inserts 10 floating point values into an array using for loop, the start value for…
A: In this question we have to solve this problem statement using C Let's code
Q: No, there is an issue with the functional dependency. No, it is not yet in 2NF. No, there are…
A: (d) yes, it is in 3 NF.
Q: Calculate the sum of a given row in a two-dimensional array. Complete this code: row_sum.cpp 1…
A: Answer:
Q: There is no need to compute the values of these expressions. • You can always verify your answers on…
A: It's a question of permutation and combination where we have been given with three symbols 1,2,3 and…
Q: Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3…
A: The complete answer is below:
Q: Write a function that is called pickone, which will receive one input argument x, which is a vector,…
A: Please find the answer below :
Q: Create a C++ Program to do the following: Create a .txt file with up to 10 double numbers. Then in…
A: - We need to code for the file problem in c++.
Q: python get momentum of particle of mass travelling with y taken from user
A: Given: To write a python code.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
A company has 5 stores {1, 2, 3, 4, 5}. The sales for each store is as follows: {200, 300, 400, 500, 600}. The tax rate is 6%
Write a java program that:
1) Calculates the sales tax for each store and the total sales tax for the company.
Step by step
Solved in 2 steps with 1 images
- A company has 5 stores {1, 2, 3, 4, 5}. The sales for each store is as follows: {200, 300, 400, 500, 600}. The tax rate is 6% Write a java program that: Print the sales tax for the entire companyA particular cell phone plan includes 50 minutes of air time and 50 text messages for R15.00 a month. Each additional minute of air time costs $0.25, while additional text messages cost R0.15 each. All cell phone bills include an additional charge of R0.44 to support 911 call centers, and the entire bill (including the 911 charge) is subject to 5 percent sales tax. Write a java program that reads the number of minutes and text messages used in a month from the user. Display the base charge, additional minutes charge (if any), additional text message charge (if any), the 911 fee, tax and total bill amount. Only display the additional minute and text message charges if the user incurred costs in these categories. Ensure that all of the charges are displayed using 2 decimal places.A supermarket awards coupons depending on how much a customer spends on groceries. For example, if you spend $50, you will get a coupon worth eight percent of the amount. The following table shows the percent used to calculate the coupon awarded for different amounts spent. Write a JAVA program that calculates and prints the value of the coupons a person can receive based on groceries purchased. Money Spent Coupon Percentage Less than 10$ No coupon $10-$59 8% $60-$149 10% $150-$209 12% $210 or more 14% Here is a sample run: Please enter the cost of your groceries: 14 You win a discount coupon of $1.12. (8% of your purchase)
- JAVA PROGRAM Chapter 5. PC #2. Retail Price Calculator (page 312) Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example: • If an item’s wholesale cost is 5.00 and its markup percentage is 100 percent, then the item’s retail price is 10.00. • If an item’s wholesale cost is 5.00 and its markup percentage is 50 percent, then the item’s retail price is 7.50. The program should have a method named calculateRetail that receives the wholesale cost and the markup percentage as arguments, and returns the retail price of the item. Class name: RetailPriceCalculator PLEASE FIX AND MODIFY THIS JAVA PROGRAM SO WHEN I UPLOAD IT TO HYPERGRADE IT PASSES ALL TEST CASSES PLEASE. RIGHT NOW IT SAYS 0 OUT 5 PASSED. THE PROGRAM IS NOT WORKING IN HYPERGRADE FIX IT SO IT WILL WORK IN HYPERGRADE. THANK YOU. import java.util.Scanner;public class Main { public static double…JAVA PROGRAM Chapter 5. PC #2. Retail Price Calculator (page 312) Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example: • If an item’s wholesale cost is 5.00 and its markup percentage is 100 percent, then the item’s retail price is 10.00. • If an item’s wholesale cost is 5.00 and its markup percentage is 50 percent, then the item’s retail price is 7.50. The program should have a method named calculateRetail that receives the wholesale cost and the markup percentage as arguments, and returns the retail price of the item. Class name: RetailPriceCalculator PLEASE MODIFY THIS JAVA PROGRAM SO WHEN I UPLOAD IT TO HYPERGRADE IT PASSES ALL TEST CASSES PLEASE. RIGHT NOW IT SAYS 0 OUT 5 PASSED. THE PROGRAM IS NOT WORKING IN HYPERGRADE FIX IT SO IT WILL WORK IN HYPERGRADE. THANK YOU. import java.util.Scanner;public class Main { public static double calculateRetail(double…Java Program Chapter 5. PC #2. Retail Price Calculator (page 312) Write a program that asks the user to enter an item’s wholesale cost and its markup percentage. It should then display the item’s retail price. For example: • If an item’s wholesale cost is 5.00 and its markup percentage is 100 percent, then the item’s retail price is 10.00. • If an item’s wholesale cost is 5.00 and its markup percentage is 50 percent, then the item’s retail price is 7.50. The program should have a method named calculateRetail that receives the wholesale cost and the markup percentage as arguments, and returns the retail price of the item. Class name: RetailPriceCalculator
- JAVA PROGRAMA bank offers a 3% interest per annum for savings accounts. The bank also has 1% withholding tax per annum. Assuming that there are no withdrawals on the account, write an application that will calculate the estimated total earnings of a bank customer for a given number of years. Make your program ask for the principal amount and the number of years. Output the estimated total earnings.You will calculate the gross pay for an individual using the formula gross pay = rate * hours You will deduct Federal Withholding tax, State Income Tax, and Medicare tax. Use the following values: Medicare 1% SWT 2% FWT 3% Now calculate the Net Pay using the following formula: Net Pay = Gross Pay – Medicare – SWT – FWT Finally, you will deduct benefit amounts from the Net Pay Dental $100 month Medical $500 month javaWrite a program that prints a grocery receipt of items purchased. The program must create variables for the following items: Milk = $2.00 Eggs = $ 3.00 Bread =$4.00 Orange Juice =$3.50 Apples = $4.00 Cookies = $3.25 Water = $3.00 A coupon of $1.00 was used. use a constant for a coupon. Calculate the bill, assume that 1 unit of all items was purchased use java programming language
- TotalPayAA.java Write a program that will calculate an employee’s total pay for a week (hourly pay + commission). Your program should ask the user how many hours they work and then their total sales amount. Hourly Wage - Their hourly wage is $11.50 for the first 40 hours and then time-and-a-half ($11.50 * 1.5) for anything over 40 hours. Commission - Commission is a small percentage of total sales that the employee earns. Total Pay – Total hourly wages + commission Commission for sales is shown: Sales Commission $0.00 - $99.99 5% of total sales $100.00-$299.99 10% of total sales $300.00+ 15% of total sales Make sure you print back to the user their total pay for the week. Money values should be formatted appropriately and your output should be descriptive as in the example. Test values: 10 hours + $10 sales =…This needs to be done in Java! (Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5,000, or a total of $650. You’ve been supplied with a list of the items sold by each salesperson. The values of these items are shown below. Develop a Java application that inputs one salesperson’s items sold for last week and calculates and displays that salesperson’s earnings. There’s no limit to the number of items that can be sold. Item Value 1 239.99 2 129.75 3 99.95 4 350.89 Example Output: Enter number sold of product #1: 10Enter number sold of product #2: 20Enter number sold of product #3: 30Enter number sold of product #4: 40Earnings this week: $2182.61 NOTES: Do not create a separate class for this program. Create the…An Arabian legend has it that a fabulously wealthy but unthinking king agreed to give a bigger one cent and double the amount for 60 days. Using this information write, run and test a Java program that displays how much King must pay the beggar each day. example days. Amount 1. 0.01 2. 0.02 3. 0.04 . 64 days. .... note:- 1) modify the program that you have write To determine on which day king must have paid the beggar a million dollar