Write a java console application for a lawn-mowing service

Assignment Help Computer Engineering
Reference no: EM132218543

Assignment task

Write a java console application for a lawn-mowing service for N lawns. N should be declared as a constant and it should be equal to the largest digit of your student ID number (e.g. if your ID number is S143261 then N should be equal to 6 and you can declare it as final int N=6).

The weekly fee for mowing a lawn is shown below in Table 1. Table 1. Weekly Fee for Lawn Mowing Lawn Area Weekly Fee ($) Lawn under 500 square meter 40 500 square meter or more but under 900 square meter 60 900 square meter or more but under 1500 square meter 75 1500 square meter or over 100 The application should ask the user to enter the area for each lawn (total N lawns) and calculate the weekly fee for lawn mowing.

The application should display the fee for each lawn as shown in the example below. At the end of the Nth lawn, the details such as total weekly fee, lowest weekly fee, highest weekly fee, and lawn number with highest monthly fee should be displayed.

The lowest fee is calculated by finding the lowest value from weekly fee for N lawns. The highest monthly fee is calculated by finding the highest value from weekly fee for N lawns.

The average lawn moving fee is calculated by dividing the total weekly fee with the total number of lawns. The monthly fee is calculated by multiplying the weekly fee by 4.

Reference no: EM132218543

Questions Cloud

Compute the ending inventory at may : Coronado Co. uses a periodic inventory system. Compute the ending inventory at May 31 and cost of goods sold using the FIFO and LIFO methods
Construct a detailed and well-thought-out analysis : Construct a detailed and well-thought-out analysis of a real-world business employing many of the business theories, concepts, and relevant strategic analysis
What is the gross profit for the period : Sheffield uses the periodic inventory method. If the company uses FIFO, what is the gross profit for the period
How do these environmental elements relate : Identify the three most important elements of the general environment that impact your organization - Identify the three most important elements
Write a java console application for a lawn-mowing service : Write a java console application for a lawn-mowing service for N lawns. N should be declared as a constant and it should be equal to the largest digit.
Create an erd the relationships between entities : Create an ERD that represents the entities, attributes, the relationships between entities, and the cardinality.
Create a powerpoint presentation of the final sponsor : For your Final "Paper", you will create a Final Sponsor Presentation. You have been hired by Aetna to use big data to improve patient health.
Find the mean marks of all 40 students : The average marks of 39 students of a class is 50 . the marks obtained by 40 students are 39mpre than the average marks of all the 40 students.
Briefly describe the osi reference model : Briefly describe the OSI reference model and the TCP/IP networking model, use diagrams to show the relation between both these models.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd