### Implement a programme that reads an integer value

Assignment Help Computer Engineering
##### Reference no: EM13328536

Assignment Criteria: 1-3

NB: as you complete each program task, demonstrate the program to your tutor and get your tutor to sign the assignment log sheet. Do not leave it all to last moment. No signed Log, No grade.

Design and implement a programme that reads an integer value and prints the sum of all even integers between 1 and the input value inclusive, as well as the sum of all odd integers.

The programme should print the input value, sum of even integers, sum of odd integers and sum of both odd and even numbers. (Use selection and loop)

The Packing Company wants a program for their Orders Department to calculate and display the price of an order. The order clerks enter the number of the units ordered, whether a customer is a wholesaler or retailer (the clerk enter W for wholesaler and R for retailer), and whether or not the customer is a special customer. If the customer is a special customer the company offers 10% discount on the total order. Use a variety of controls for this data entry. The price the customer pays per unit depends on these three things. The prices are as follows: (use nested ifs OR switch case)

 Wholesalers Retailers No. Units Price per unit £ No. Units Price per unit £ 1- 6 50 1-4 60 7-11 40 5-9 50 12-21 30 10-15 40 22-60 20 16-50 30 Over 60 15 Over 50 25

Write a program that asks the user to enter a total of three decimal numbers. After the numbers are entered, the program should ask the user to do the following: Enter 1 to find the maximum of three numbers, enter 2 to find the minimum, or enter 3 to find the average. The result should be displayed along with the three original numbers. (Use method)

Create a Java application to calculate and display the cost of a number of rolls of wallpaper according to the rules:

1.
• £5 per roll for woodchip paper (type = 1)

• £10 per roll for contemporary pattern paper (type = 2)

• £15 per roll for traditional pattern paper (type = 3)

• £30 per roll for high quality embossed paper (type = 4)

The customer enters two whole numbers type andnumber (the number of rolls required) and the program should calculate and display the cost of that number of rolls of wallpaper for the customer.

You are required to check that the customer will enter the input correctly as whole numbers.

The program allows the customer to get the cost of many rolls types. (Verify input as whole number)

Documentation to be submitted

For Task 1, 2, 3 & 4

1. Identify the user requirements (i.e. input, output and process)[AC:1.1-1.2]

2. Explain and justify the variables or constants used. [AC:2.1]

3. Design of code (Pseudocode or JSD)[AC: 1.3;2.2-2.3]

4. Code listing [AC: 2.1-2.5].

5. Suitable set of test data with expected and actual results.Explain appropriate action carried out to correct programs errors.[AC:3.1-3.3]

6. Evidence should include table of test data. (Provide screen prints of at least 2 actual results for each task).

#### Explain why you think the impact will or will not occur

Based on this description, the group should develop an analysis of the impacts such a development would have on one of the following: corporate sales and marketing, manufact

#### How automated accounting software can help management

Summarize the various accounting systems that each firm provides. Be sure to address the following for each firm: a. The various types of accounting systems it sells (e.g

#### Determine how much money you earned or lost with each stock

Summarize the various accounting systems that each firm provides. Be sure to address the following for each firm: a. The various types of accounting systems it sells (e.g.,

#### List the primary key and functional dependencies

List the primary key and functional dependencies in the following table, subject to the specified conditions. Convert this table to an equivalent collection o

#### What legal arguments could be raised by sudson

What legal arguments could be raised by Sudson in support of the enforcement of the automatic renewal clause against Letisha and what ethical issues are raised, if any, by

#### Find a lower interest rate

how much does it lower your payment if you shop around and find a lower interest rate? How much could you lower the payment by having a bigger down payment? What happens if

#### how to make financial projections for alternative solutions

The executive committee decided that steps must be taken to increase the accuracy of the financial projections so they will more closely match the results that are achieved.

#### Solution requirements need to be aligned with the goals

Solution requirements need to be aligned with the goals and objectives of the organization. The goals and objectives are documented in a strategic plan and usually measured