Create a file named Store.Java. In that file, create a method with the following signature: public static double calculateRetail(double wholesale, double markup) This method should calculate how much a product should sell for based on the wholesale price and markup percentage. Make a Java code that results like test case examples.
Q: Create a Python file called domino175.py. Inside this file, create and test a Domino class according…
A: Python used to answer this question
Q: In this question you will create a method in Forecasting.java named readData that reads the data…
A: 1. Answer Forecasting.java import java.io.File;import java.io.FileNotFoundException;import…
Q: 2. Complete the class code below and using only the main method, add code to make an EXACT COPY of…
A: [Note: Explanation of the program code is provided within the comments.] Program code:…
Q: Write a java program called SumSquares that includes an integer return type method called Squares().…
A: public class SumSquares { /*Define an integer return type method called "Squares()" *…
Q: public class MoneyWithdrawal { private double balance; public withdrawMoney (double amount) { /*…
A: In the given options there is no correct option for replacing the missing code
Q: Suppose there is a class called Foo. Which of the following methods would be called automatically…
A: Answer : __init__(self)
Q: Netbeans 12.5. The question is: There are 12 inches in a foot and 3 feet in a yard. Create a class…
A: Please find the answer below
Q: I am trying to figure out why the sum at the end of my Java code is not working correctly. It keeps…
A: import java.io.FileWriter; import java.io.File;import java.util.Scanner; public class Main{…
Q: For this exercise, you will create 2 classes: InputOutput class and AddNumbers class. ⦁ InputOutput…
A: Program code: File name: InputOutput.java //import the required packagesimport java.io.File;import…
Q: (In JAVA)Add the following class method: A method that asks for the username and password of the…
A: import java.util.*; public class methods { public static void logininfo() { Scanner sc=new…
Q: in java language You will write a method that will take a file name (String) as a parameter that…
A: Java code to take user input file name and display sum of integers in the file
Q: Can you please Write a return method called highest CommonFactor() that returns the highest common…
A:
Q: Which of the methods below is a correct implementation of the functionality described in this…
A: Which of the methods below is a correct implementation of the functionality described in this…
Q: e make, YYYY is the year it was manufactured, C is the first letter of the colour and XX is the…
A: Create a simple java program that reads all the content in a .txt file, the user will enter the…
Q: in java language You will write a method that will take a file name (String) as a parameter that is…
A:
Q: Write a program called SumSquares that includes an integer return type method called Squares(). The…
A: First we will define a function square and pass two parameter of integer type. prompt the window to…
Q: Test Case 1 Enter length: \n 5 ENTER Enter width: \n 10 ENTER You entered: 5.0, 10.0, and 50.0 \n…
A: Here I have created all the functions that were given in the question. In the method getLength() and…
Q: Which of the following members take * :values in test object Class Test (int xyz,; Static int xyz2;…
A: The above question involves the class and the members and methods that are created in the class.…
Q: Make a file named Rectangle.java, in that file create a following methods: // Ask the user for the…
A:
Q: Create a class named Contact with the following attributes : First name, Middle name, Last name,…
A: JAVA SCRIPT CODE HERE <script> function Submit(){ var emailRegex =…
Q: Which java keyword is used to refer a class’s hidden data fields? super static void this
A: Task :- Choose the correct option for given question.
Q: Based on the given UML create the classes and upload your py file. pick an interest rate for your CD…
A: Basically, a scenario is given in the above UML diagram which is implemented in python. A class…
Q: Let's create our first Java file, called Welcome.java, which can be done in any text editor (like…
A: Given: Output of Java Program.
Q: Write a Java program that generates random numbers with your ID as the Class Name. Use a Do-While…
A: Java is a programming language originally developed by James Gosling at Sun Microsystems (which is…
Q: Write a class called Fraction; this class will be designed to handle fractions. The Fraction class…
A: Answer is given below .
Q: Create a Python file called domino175.py. Inside this file, create and test a Domino class according…
A: Python used to answer this question
Q: Which of the following is a true statement regarding the creation and use of methods
A: It is possible to create a method within another method but not directly . Here, Java support nested…
Q: Create a file named Validate.java , in that file create a method with the following signature:…
A: Java Code for above : import java.util.Scanner; public class Validate { //required function…
Q: C++ write an application that enable users to enter student id and three exam scores. Provide a…
A: The program has two function one for calculating average and snother for printing values. The main…
Q: Suppose there is a class called Foo. Which of the following methods would be called automatically…
A: The correct option is option 4th option that is __init__(self)
Q: Write a void method which will accept two parameters, your first name and last name. It will then…
A: JAVA Program: public class Main{ public static void print(String firstname, String lastname) {…
Q: reated that stores the date on which the account was created. • A constructor that creates an…
A: Actually, class diagram in the Unified Modeling Language (UML) is a type of static structure diagram…
Q: 39. You are designing an application for a school and are given the following specific • For a given…
A: Below I have provided a solution for the given program
Q: Fraction.java
A: Program structure Fraction.java Create a class Fraction Declare integer variable "numerator".…
Q: ate a student class in java Having 2 instance variables: int rollno; String name • Have 2 methods…
A: Define class Student. Define int variable rollno. Define string variable name. Define method…
Q: FOR JAVA, PLEASE URGENT Part I Use Company class and create OptionDialog for 5 any methods about…
A: sample output
Q: Assume you are working in a Python program and you have been given the following lines of Python…
A: PROGRAM: #Defining the concatNames method def concatNames(fName,lName): #Concatinating the fName…
Q: I am trying to figure out why the sum at the end of my Java code is not working correctly. It keeps…
A: the answer is given below:-
Q: (B) Write Java Application to generate a digital signature for "Your Name in English followed by…
A: Digital Signature DefinitionDigital Signature is a technique for ensuring: Integrity: the message…
Q: Write an application for Movies On Us by including the following information: Create a class named…
A: import java.util.Scanner;import java.io.*; class Movie{ private String name; private double…
Q: Which of the following is false in reference to static in java? O A static variable is common to all…
A: A static variable is common to all the instances (or objects) of the class. This is true.
Q: Create a new Python file in your project named FullName.py. In this module, create a class…
A: here i written python code as per problem. I hope you like it.
Q: Create a simple java program that reads all the content in a .txt file, the user will enter the…
A: Program Explanation: 1) Implement the header file. 2) Declare the integer and assign the values. 3)…
Q: need main method that connects to a second method with user input and prints like the example below.…
A: A Java program takes enter values from the command line and prints a string of characters as output.…
Q: Please help with insert code in the below java switch/case block of code, so it checks if the number…
A: This is the java program which will give the exact output of the first program:…
Q: need to make a Java Application in Apache Netbeans 12.5 , I would like to ask for help please. The…
A: Please find the answer below :
Q: A store owner keeps a record of daily cash transactions in a text file. Each line contains three…
A: Given
Q: Modify the Lab 6 java applet that produces a Bulls Eye with six concentric circles using two colors…
A: In case of any query do comment. Please rate answer as well. Thanks Code: package Far; import…
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- Store bonuses: If store sales are $80,000 or more, store bonus is $3000 If store sales are $90,000 or more, store bonus is $4000 If store sales are $100,000 or more, store bonus is $5000 If store sales are $110,000 or more, store bonus is $6000 Employee bonuses: If percent of increase is 3% or more, employee bonus is $40 If percent of increase is 4% or more, employee bonus is $50 If percent of increase is 5% or more, employee bonus is $75 Step 3: Modify Module 5 by adding an if statement that will print a message if both the store bonus and the employee bonus are the highest amounts possible. (Reference: Logical Operators, page 147). //MODULE 5 //this module will display store and employee bonus info. Module printBonus(Real storeAmount, Real empAmount) Display “The store bonus is $”, storeAmount Display “The employee bonus is $”, empAmount If storeAmount == _____ AND empAmount == _____ Then Display “Congrats! You have reached the highest bonus amounts possible!”…USE EXCEL PLEASE A buyer and seller execute buy-back contract. For the seller, the cost of manufacturing a Ski-Jacket is $35 per unit. The buy-back price is $42/unit, and the fixed cost is $100000. For the buyer, the selling price is $95/Ski-Jacket, the purchase price is $55/Ski-Jacket and the purchase quantity is 15,000. The demand for the buyer follows a discrete distribution as given below: Demand Probability 12,000 0.071 13,000 0.071 14,000 0.143 15,000 0.143 16,000 0.214 17,000 0.07 18,000 0.143 19,000 0.145 What is the expected supply chain profit?Store bonuses: If store sales are $80,000 or more, store bonus is $3000 If store sales are $90,000 or more, store bonus is $4000 If store sales are $100,000 or more, store bonus is $5000 If store sales are $110,000 or more, store bonus is $6000 Employee bonuses: If percent of increase is 3% or more, employee bonus is $40 If percent of increase is 4% or more, employee bonus is $50 If percent of increase is 5% or more, employee bonus is $75 Step 1: Modify the storeBonus module to write a nested if else statement to set the new bonus levels. Complete the missing lines. (Reference: The if-then-else Statement, page 140). //MODULE 2 //this module will determine what the bonus levels are Module storeBonus (Real monthlySales, Real Ref storeAmount) If monthlySales >= 110000 Then Set storeAmount = 6000 Else If monthlySales >= ______________ Then Set storeAmount = ___________________ Else if monthlySales >= ______________ Then Set storeAmount =…
- LUNCH SALES Days of Week Lunch Sold Qty Unit Price Total Sold Monday Chicken 25 15.00 $ 375.00 Monday Pork 15 20.00 $ 300.00 Monday Fish 20 25.00 $ 500.00 Tuesday Mutton 15 23.00 $ 345.00 Tuesday Fish 30 25.00 $ 750.00 Wednesday Chicken 55 15.00 $ 825.00 Thursday Turkey 45 18.00 $ 810.00 Friday Turkey 60 18.00 $ 1,080.00 Saturday Chicken 15 15.00 $ 225.00 Saturday Mutton 45 23.00 $ 1,035.00 Saturday Fish 55 25.00 $ 1,375.00 Saturday Turkey 50 18.00 $ 900.00 Saturday Pork 20 20.00 $ 400.00 Sunday Fish 55 25.00 $ 1,375.00 Sunday Mutton 35 23.00 $ 805.00 Sunday Chicken 30 15.00 $ 450.00 #NAME? Fruit # of Days Sold Total Sold Sum of Total Sold Chicken Mutton Fish Turkey Pork Instructions: (Fill in the columns of the "Calculations Table") 1.…Task 3: The StayWell property management team wants to get in touch with those owners having properties larger than 2,000 square feet. You need to return all the available information of the corresponding owners to the property management team. Task Return a list of all the property owners having properties larger than 2,000 square feet. 1 Task 4: The StayWell maintenance team wants to minimize the number of planned visits to properties. The team wants to learn all the properties that have different planned service dates. You need to return all available data in the SERVICE_REQUEST table, where requests are made for the same property with a different NEXT_SERVICE_DATE. Task Return a list of all properties where service requests are made with different NEXT_SERVICE_DATE values.Model Vin Price VEHICLE CAR TRUCK SUV Engine_size Tonnage No_seats VEHICLE Vin price Model CAR Vin engine_size TRUCK Vin Tonnage SUV Vin No Seats CAR TRUCK SUV Vin price Model engine_size Vin price Model Tonnage Vin price Model No Seats VEHICLE Vin price Model Vehicle Type engine_size Tonnage No Seats VEHICLE Vin price Model Is_Car engine_size Is_Truck Tonnage Is_SUV No_Seats Consider this ER diagram and 4 possible options: Using option B or C: Implement one by showing the create table(s) statement. If you select B, write the trigger that ensures a VIN can only appear in one table. If you select C, write the trigger that requires the data associated with a particular Vehicle Type is not null, and sets the other data to null. Provide at least 3 sample data that demonstrates your trigger is working as expected.
- PROGRAM DESCRIPTION Mr. Adomar llao went to the bank to know different information related to housing loan. Make a housing loan system that will be able to help Mr. Ilao to known the best option available for him by providing the following information: 1. Price of the House 2. Monthly Payment The said program will be able to ask the following information such as: 1. House Code 2. House Model 3. No. Of Years to payWhat are percentiles and quartiles ?Each salesperson at IdzaaraAisya Inc. receives a commission based on the amount of his or her sales. The commission rates and additional payment amounts are shown below. Sales ($) Commission 1–5,999.99 10% of sales 6,000–29,999.99 $600 plus 13% of the sales over 6,000 30,000 and over $3,720 plus 14% of the sales over 30,000 Additional $500 if the salesperson has worked at the company for over 10 years and the sales amount is at least $10,000. $700 if the salesperson travels. Draw a flow chart. Calculate the commission, any additional amount, and the total due only when the sales amount is greater than 0; otherwise, display $0.00 as the commission, additional amount, and total due
- The table shows monthly test requests and the average days to complete one request. On average, how many test requests are being processed? Note that a typical month is 20 days.Question 7 Each salesperson at IdzaaraAisya Inc. receives a commission based on the amount of his or her sales. The commission rates and additional payment amounts are shown below. Sales ($) 1-5,999.99 6,000–29,999.99 30,000 and over Commission 10% of sales $600 plus 13% of the sales over 6,000 $3,720 plus 14% of the sales over 30,000 Additional $500 if the salesperson has worked at the company for over 10 years and the sales amount is at least $10,000. $700 if the salesperson travels. Draw a flow chart. Calculate the commission, any additional amount, and the total due only when the sales amount is greater than 0; otherwise, display $0.00 as the commission, additional amount, and total due.The following table shows the rate of commission that will be paid to the salesman according to the total sales performance of the month:Total Sales Performance (RM) CommissionLess than 10000 No commission10000 – 20000 1% of the total sales20001 – 30000 2% of the total sales30001 – 40000 3% of the total salesMore than 40000 4% of the total sales Lastly, display the salesmanName, totalSalesPerformance,totalCommission and totalSalary.