Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Writea c++program that would ask the user to enter their personal information: last name,first name, middle name, birthday, age, gender and permanent address


Create a program that will compute the salary of an employee. Salary is computed as hours worked times rate per hour. Rate is based on the inputted employee code. Consider the following:

Employee Code Rate per hour

1 100.00

2 200.00

3 350.00

4 500.00



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


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. Write the pseudocode to solve the initial problem and then write 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 1:




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. in java





You are given an interface which contains an abstract method and a default method void show()to simply output a statement "This is a default method's output". You need to write a class called MyCalculator which implements the interface. While you will override divisorSum method in MyCalculator class, you need to consider that method just takes an integer as input and return the sum of all its divisors. For example divisors of 6 are 1, 2, 3 and 6, so divisorSum should return 12. The value of n will be at most 1000. You have to create a main class ( any name can be given to main class and in the main class you have to create an object of MyCalculator class using a interface variable of AdvancedArithmetic interface. Then from the main method call the divisorSum method inside a println method using the created object. Then also call the show method using the created object.


Write a program that calculates the area of the following figures:

·        A square of side 0.666666667

·        A rectangle of sides 1/9 and 4

Test the two calculated areas for equality. If the areas are equal output “The area of the two figures are equal” else output “The area of the two figures are not equal”


Calculate total stock value of the stock available in a furniture shop.

This program simulate the stock management of a Furniture Shop. This shop deals with only two type of Furnitures BookShelf and DiningTable only. The program should accept details any 5 furnitures(each can be either BookShelf or DiningTable), the program should show a menu that allow the user to select choice of Furniture. After accepting the required no of Furniture details program will show accepted details and TotalCost of Accepted Stock

This exercise contains a base class named Furniture to hold the common properties of all type of Furnitures, and BookShelf and DiningTable class as child class with additional properties relevant to child classes. Program class has below functions:

ddToStock(Furniture []) : int
    
 +TotalStockValue(Furniture []) : double
     
  +ShowStockDetails(Furniture []) : int
     
+Furniture : class
+ BookShelf : class
+ DiningTable : class




Write a C++ program that asks the user to enter a number N .After that, print N lines using asterisk (*) in a


triangle shape as shown below;


Sample Input:


Enter number of lines to print: 6

2 6 9 8 5 2 4 6 8 1 8


Find mean, median, mode.

LATEST TUTORIALS
APPROVED BY CLIENTS