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

Repeat exercise p27 but apply the darker method twice to

Repeat Exercise P2.7, but apply the darker method twice to the object Color.RED. Call your class DarkerDemo. Exercise P2.7 In the Java library, a color is specified by its red, green, and blue components between 0 and 25 ...

1 udp is a message-oriented protocol tcp is a byte-oriented

1. UDP is a message-oriented protocol. TCP is a byte-oriented protocol. If an application needs to protect the boundaries of its message, which protocol should be used, UDP or TCP? 2. Assume a private internet, which use ...

Consider a hash table of size 501 that contains 85 keysa

Consider a hash table of size 501 that contains 85 keys. (a) What is the load factor? (b) What is the average number of comparisons required to determine if the collection contains the key 73, if: i. linear probing is us ...

Security programas you build your model and plan you have

Security Program As you build your model and plan, you have requested assistance from various organizations to identify their data and system requirements. To assist them, you have created a data classification scheme, a ...

A goal of fragmentation in a distributed database is to

A goal of fragmentation in a distributed database is to improve performance by moving copies of the data closer to the users. (Example: In a banking situation, having my banking information close to me in my home state o ...

Assignmentlearning outcomesby completing this assignment

Assignment Learning Outcomes: By completing this assignment, you will gain skills relating to Strings and text files Writing your own classes Testing code Using complex data structures (i.e., sets and dictionaries) In th ...

1 explain the benefit of autoconfiguration2 explain the

1. Explain the benefit of autoconfiguration. 2. Explain the benefit of renumbering. 3. Which field in the IPv6 packet is responsible for multiplexing and demultiplexing?

1 draw a cell pattern with a frequency-reuse factor of 52

1. Draw a cell pattern with a frequency-reuse factor of 5. 2. Draw a cell pattern with a frequency-reuse factor of 3. 3. What is the maximum number of callers in each cell in AMPS? 4. What is the maximum number of simult ...

1 implement the general priority queue adt using the

1. Implement the general Priority Queue ADT using the min-heap implemented as a vector. Instead of having the number of priority levels as an argument of the constructor, specify the maximum capacity of the queue. 2. Com ...

Databases and system architecture discussionsanswer all

Databases and System Architecture Discussions Answer all discusion topics Cables • Discuss different types of cables and the advantages/disadvantages of each type: o twisted pair o coaxial cable o fiber-optic. • Which on ...

  • 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