Ask Question, Ask an Expert

+1-415-315-9853

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

Group members will build upon the work from the previous

Group members will build upon the work from the previous weeks, incorporating instructor feedback. Continue the paper by adding your marketing plan. Thissection should be high-level aspects of a basic plan for marketing ...

Assume that our network may corrupt packets but it never

Assume that our network may corrupt packets, but it never loses or duplicates a packet. We are also concerned about flow control. We do not want the sender to overwhelm the receiver with packets. Design an FSM of a new p ...

Compare electric car telsa semi electric hybrid car toyota

Compare electric car Telsa, semi electric (hybrid car) Toyota Prius, and regular fuel efficient cars Toyota Corolla / Honda Civics How long does it take to re charge a Telsa, how long can Telsa travel, where can you rech ...

In sect 1013 we state that sender or message authentication

In Sect. 10.1.3 we state that sender (or message) authentication always implies data integrity. Why? Is the opposite true too, i.e., does data integrity imply sender authentication? Justify both answers. In this exercise ...

1 write a regular expression that finds all the words in a

1. Write a regular expression that finds all the words in a string that contain double letters, such as "deep" and "book". 2. Write a regular expression that finds all the header tags (, , etc.) in a Web page. 3. Write a ...

1 list and describe the four basic conversion strategies as

1. List and describe the four basic conversion strategies (as described in the chapter) that are used when converting to a new system. Under which circumstances is each of these the best approach? 2. What is technology g ...

For each of the statements below i ii and iii indicate

For each of the statements below (I, II and III), indicate whether the statement applies to a) a scalar processor, b) a superscalar processor or c) a multi-threaded processor. Select only one choice (a, b or c) in each c ...

Implement the following algorithm to construct magic

Implement the following algorithm to construct magic n-by-n 2 squares; it works only if n is odd. Place a 1 in the middle of the bottom row. After k has been placed in the (i, j) square, place k + 1 into the square to th ...

1 name two accessor methods and two mutator methods of the

1. Name two accessor methods and two mutator methods of the Rectangle class. 2. Look into the API documentation of the Rectangle class and locate the method Read through the method documentation. Then determine the resul ...

You are a forensics investigator and need to address the

You are a forensics investigator and need to address the following cases. You can find the Case Projects at the end of Chapters 3 and 4 in your textbook. Case Project 3-3: Digital Evidence Storage Formats (CLO 1) Case Pr ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro