Building contractor You are developer and you wish to build five new houses, all from wood and
Question:
Building contractor You are developer and you wish to build five new houses, all from wood and all uniform. Each house has 3 rooms, all with exactly the same dimensions, i.e. 2m x 4m. Wood prices have been set at 6.00 per meter. You need to determine the total cost of the build of all five houses. Initially, you will need to write the pseudocode to solve the following problem, define the variable name and data types, plus write the code to solve the total build cost.
Hint: Determine the area of each room in each house and the total area of all rooms combined. Thus, giving the total price of the construction.
Task 2: Internet traffic As a digital business analysist, you have been asked by your line manager to supply the last seven months traffic figures to your company's website. At the moment, the traffic numbers are not in ascending order. Create the pseudocode to solve the initial problem and then create a Java algorithmic program to sort the array of given traffic figures. The traffic numbers to sort correctly are: 2, -17, 8, 26, 1, 0, 84
Hint: Bubble sort
Task 3: Car repairs An owner of an auto repair shop wishes to organise his team of mechanics at the beginning of the day. To make the distribution of work equal, he organises cars with an even amount of faults into bay 1 and cars with an odd amount of faults into bay 2. There are nine cars in total Write the pseudocode for the problem, then write a Java program to separate the even and odd number of car faults. Have all even numbers displayed first, then odd numbers at the end. The repairs required for each car are as follows. 18, 14, 12, 6, 4, 21, 19, 9, 3
Hint: WHILE LOOPS and IF
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science
ISBN: 978-0324656633
5th edition
Authors: Cliff T. Ragsdale