Create a solution algorithm using pseudocode

Assignment Help Data Structure & Algorithms
Reference no: EM135364

In the following problems, you will need to:

• define the problem by constructing a defining diagram
• create a solution algorithm using pseudocode
• desk check the solution algorithm using two valid test cases.

Q1 Construct an algorithm that will prompt an operator to input three characters, receive those three characters, and display a welcoming message to the screen such as 'Hello xxx! We hope you have a nice day'.

Q2 You require an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

Q3 You require an algorithm that will receive an integer from the screen, add 5 to it, double it, subtract 7 from it, and display the final number to the screen.

Q4 You require an algorithm that will read in a tax rate (as a percentage) and the prices of five items. The program is to calculate the total price, before tax, of the items, then the tax payable on those items. The tax payable is calculated by applying the tax rate percentage to the total price. Print the total price and the tax payable as output.

Q5 You require an algorithm to read in one customer's account balance at the beginning of the month, a total of all withdrawals for the month, and a total of all deposits made during the month. A federal tax charge of 1 % is applied to all trans¬actions made during the month. The program is to calculate the account balance at the end of the month by (1) subtracting the total withdrawals from the account balance at the beginning of the month, (2) adding the total deposits to this new bal¬ance, (3) calculating the federal tax (1 % of total transactions - that is, total with¬drawals + total deposits), and (4) subtracting this federal tax from the new balance. After these calculations, print the final end-of-month balance.

Q6 You require a program to read in the values from an employee's time sheet, and cal¬culate 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 calculated as payment for regular hours worked, plus payment for overtime hours worked. Payment for regular hours worked is calculated as (wage rate times regular hours worked); payment for overtime hours worked is calculated as (wage rate times overtime hours worked times 1.5).

Reference no: EM135364

Questions Cloud

Evaluate the company''s weights of capital : Evaluate the company's weights of capital (debt, preferred stock and common stock) and estimate the company's before-tax and after-tax component cost of debt.
Impact of effective human resource management : How to write a good reserach methodology Introduction -summarise the literarture and the reserach question.
Prepare the entry to record the accrued interest : Assuming that all the investments are classified as available-for-sale, use the spreadsheet Journal Entries to prepare the journal entries necessary to classify the amounts into the proper accounts. Prepare the entry to record the accrued interest ..
Key problem international marketing managers must address : Lack of cultural knowledge besides expertise in doing business abroad and in specific export markets is a key barrier to trade as well as a key problem international marketing managers must address.
Create a solution algorithm using pseudocode : Algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.
Write a academic research paper : The Portfolio of Practice Project for this course is a 10 to 15 page academic research paper. For this assignment, you need to choose a leader, rather from a Fortune 500 company Your research paper must contain
Most serious disadvantage of globalization : Select the most serious disadvantage of globalization (in your opinion) and make at least one recommendation
The law of demand states that other things equal : The law of demand states that other things equal
Each firm can monitor the others price very closely : Each firm can monitor the other's price very closely and can respond instantly

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Online vs. face-to-face classes

Communication A significant distinction between online and face-to-face classes lies in the area of communication.

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Discuss new security features in windows server

Which of the system changeover methods is the most expensive? Why? Which of the system changeover methods is the most risky? Why?

  C++ program to evaluate expressions combining set union

Create a C++ program to evaluate expressions combining set union, set intersection and parentheses

  Survey of fault tolerance policy for load balancing scheme o

This paper investigates about fault-tolerance in load balancing schemes in distributed environment. There are some more parameters influencing QOS but our main focus is on fault tolerance and load balancing.

  Explain the fifo structure of the queue

Explain the FIFO structure of the queue Explain how you would implement the queue data structure in its simplest form. Illustrate your answer fully with the necessary sample code

  Explain types of information systems

Question 1. Explain five types of information systems, and give an example of each. Question 2. Describe three common reasons for a systems request. Try and find one not listed in the text.

  Evaluate the average complexity of an enqueue operation

Evaluate the average complexity of an enqueue operation. Determine the average complexity of the dequeue (remove) operation.

  Write a c++ program to find the intersection

Write a C++ program to find the intersection, A set is a collection of distinct entities regarded as a unit, being either individually specified or (more usually) satisfying specified conditions.

  Find the minimum cost path from a designated node

Find the Minimum Cost Path from a designated start node to a designated destination node in a graph.

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd