Question: Create a java application calculating the service fee for house cleaning service. The fee is calculated based on house size and the number of services
Create a java application calculating the service fee for house cleaning service. The fee is calculated based on house size and the number of services per week.
Name your application in this manner: ForLoopEYourName. For example, ForLoopEDonKim.java. points
Declare a Scanner and obtain house size and the number of service per week from the user.
Use double type variable for house size and integer type of the number of service per month. points
Print this message: "Please enter your house square feet" before asking house size.
Print this message: "How many cleaning service do you want? before asking the number of service per month.
Display the following messages points
Display "The number of serviceFee a tab t between The number of service and Fee.Display
Use a for loop to calculate the cleaning service fee. points
In the loop, display the number of service per month and the service fee.
Service fee house size the number of service
Use printf to display them use a tab t between t between The number of service and Fee.
For example, service fee is $ if house size is and the number of service is
Copy and paster your code from Eclipse to the textbox below
Example of output
Please enter your house square feet
How many cleaning service do you want?
The number of service Fee
$
$
$
$
$
$
Numbers in green are keyboard inputs.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
