Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

In the given problems, you will require to:

a) Define the problem by constructing a defining diagram.
b) Make a solution algorithm by using pseudocode.
c) Desk checks the solution algorithm by using two valid test cases.

problem 1: Construct an algorithm which will prompt an operator to input three characters, receive those three characters and display a welcoming message to the screen like 'Hello xxx! We hope you have a nice day'.

problem 2: You need an algorithm which will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

problem 3: You need an algorithm which will receive an integer from the screen, add 5 to it, double it, subtract 7 from it, and display the final number to screen.

problem 4: You need an algorithm which will read in a tax rate (as a percentage) and the prices of five items. The program is to compute the total price, before tax, of the items, then the tax payable on such items. The tax payable is computed by applying the tax rate percentage to the total price. Print the total price and the tax payable as output.

problem 5: You need an algorithm to read in one customer's account balance at the starting of the month, a total of all withdrawals for the month and a total of all deposits made throughout the month. A federal tax charge of 1 % is applied to all trans¬actions made throughout the month. The program is to compute the account balance at the end of the month by:

a) Subtracting the total withdrawals from the account balance at the starting of the month,
b) Adding the total deposits to this new bal¬ance,
c) Computing the federal tax (1 % of total transactions - that is, total with¬drawals + total deposits), and
d) Subtracting this federal tax from the new balance. After such computations, print the final end-of-month balance.

problem 6: You need a program to read in the values from an employee's time sheet, and compute and print the weekly pay owing to that employee. The values read in are the total number of regular hours worked the total overtime hours and the hourly wage rate. Weekly pay is computed as payment for regular hours worked, plus payment for overtime hrs worked. Payment for regular hours worked is computed as (wage rate times regular hrs worked); payment for overtime hours worked is computed as (wage rate times overtime hrs worked times 1.5).

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M95770

Have any Question?


Related Questions in Computer Engineering

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

Inside the oncreate method fill in the code so that we set

Inside the onCreate method, fill in the code so that we set the layout and GUI defined in activity_main.xml? public void onCreate( Bundle savedInstanceState ){ super.onCreate(savedInstanceState); // Your code goes here }

How do you make a java program that reads two diagonal

How do you make a Java program that reads two diagonal points, say p1 and p2, of an up-right rectangle and finds both the smallest circle containing the rectangle and the largest circle that can be contained in the recta ...

Question the subnet mask for a class c network is

Question : The subnet mask for a class C network is 255.255.255.248. How many subnetworks are available? How many assignable hosts ids per subnet? The response must be typed, single spaced, must be in times new roman fon ...

1 what is the price of a semiannual 1000 par value bond

1) What is the price of a semiannual $1,000 par value bond with four years left until maturity that pays a coupon of 3.75% and is yielding 5.25%? What would it be yielding if the price decreased to $973.47? Assume semian ...

1 what would be the purpose for a user to protect a

1. What would be the purpose for a user to protect a file from "read" or "write" access by other users? 2. Is there a reason why it would be safer for administrators to use two different accounts when working with a comp ...

Your task in this assignment is to create a threaded class

Your task in this assignment is to create a threaded class that "races" by counting and displaying the numbers from 1 to 10. Each of the instances of this thread class should have a unique ID (i.e. the first instance sho ...

Design a combinational circuit with three inputs a b and c

Design a combinational circuit with three inputs: A, B, and C, D and the output W. The output should be 1 only when the values of A, B interpreted as an unsigned integer (AB) is equal to the values of C, D interpreted as ...

Diacussion 1 how would one distinguish between an

Diacussion: 1) How would one distinguish between an organizational weekness and threat to the organization? The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA for ...

Question 1 in each of the following scenarios there is a

Question: 1. In each of the following scenarios there is a relationship to work life in the IT industry. With each of the following question, ensure that your answer includes the explanation of how it would be applied to ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As