In the following problems you will need tobulldefine the

Assignment Help Data Structure & Algorithms
Reference no: EM13351342

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: EM13351342

Questions Cloud

Weighted average cost of capital evaluate 2012 financial : weighted average cost of capital evaluate 2012 financial statements and other financial data example beta for
Impact of effective human resource management on employee : impact of effective human resource management on employee retention-rate a case study of asda and aldi in ukhow to
Powerpuff corp carries an account in its general ledger : powerpuff corp. carries an account in its general ledger called investments which contained the following debits for
List as well as explain the key factors minimum of five : list as well as explain the key factors minimum of five that an international manager must be prepared to address when
In the following problems you will need tobulldefine the : in the following problems you will need tobulldefine the problem by constructing a defining diagrambullcreate a
The portfolio of practice project for this course is a 10 : the portfolio of practice project for this course is a 10 to 15 page academic research paper. for this assignment you
Q1 select two products or services with which you are : q1. select two products or services with which you are familiar - one produced in the u.s. and the other produced in
Q1 the basic concern of microeconomics isto keep business : q1. the basic concern of microeconomics isto keep business firms from losing moneyto prove that capitalism is better
In a market with annual demand q 250 - 2p there are two : in a market with annual demand q 250 - 2p there are two firms a and b that make identical products. because their

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

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

  Determine the mean salary as well as the number of salaries

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

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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