Write a pay-raise program that requests a persons first name

Assignment Help Programming Languages
Reference no: EM131321233

1. Write a pay-raise program that requests a person's first name, last name, and current annual salary, and then displays their salary for next year. People earning less than $40,000 will receive a 5% raise, and those earning $40,000 or more will receive a raise of $2,000 plus 2% of the amount over $40,000. Use Sub Procedures for input and output, and a function procedure to calculate the new salary.

2. A fast-food vendor sells pizza slices ($1.75), fries ($2.00), and soft drinks ($1.25). Write a program to compute a customer's bill. The program should request the quantity of each item ordered in a Sub procedure, calculate the total cost with a Function procedure, and use a Sub procedure to display an itemized bill.

Reference no: EM131321233

Questions Cloud

Calculate the cutoff frequency due to the series resistance : Calculate the cutoff frequency due to the series resistance when the diode is reverse biased, zero, and forward biased at the three voltages in Table.
Calculate the 2014 current and quick ratios : Calculate the 2014 current and quick ratios based on the projected balance sheet and income statement data. What can you say about the company's liquidity position in 2013?
Create a direct marketing campaign with the tools : Choose a creative group/ advertising agency name and design a logo. Your agency should specialize in direct marketing. Ten (10) extra credit points for the most creative name and 10 extra credit points for the best logo. Entrants must be compl..
What is a statistically significant result : What is a statistically significant result? What is the relationship among statistical significance, N, and effect size?
Write a pay-raise program that requests a persons first name : Write a pay-raise program that requests a person's first name, last name, and current annual salary, and then displays their salary for next year.
Why it is important to plan core curriculum for struggling : Explain the difference between remediation and intervention. Provide an example of when it would be appropriate to use each of these strategies.Discuss why it is important to plan core curriculum for struggling readers.
What is the significance and physics error : Show mathematically that the majority carrier storage capacitances in the two QNL's of the p/n junction are already included in Cp and Cn.
What is systematic observation : What kinds of questions can be answered through archival research, and what kinds of data might be relevant?
Create a java program to demonstrate the use of iterator : Write a Java program (non-GUI preferred) to demonstrate the use of Iterator. The program should allow a user to do the following: Allow the reading of a collection of animal objects from an external file.

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to accept candy name price per pound

A program that accepts a candy name (for example, "chocolate-covered blueberries"), price per pound, and number of pounds sold in the average month, and displays the item's data.

  Write a program that will store 7 integers

Write a program that will store 7 integers (entered by the user) into an array called list1. Next, prompt the user for 5 integers and put them into an array called list2. Now, list all of the numbers that are in BOTH lists by calling a function c..

  Write function that takes array of positive integers

Write a function that takes an array of positive integers and the size of the array, and returns the average (type float) of the values.

  Create a third subclass called phone that also extends book

Then create a third subclass called Phone that also extends the Book class. The Phone class should keep track of the number of yellow pages and the number of white pages in each phone book.

  Example on substitution model

Use the substitution model to illustrate what the result of calling (add1-iter '(1 2 3)) will be.  Why is the list reversed?

  Create a script that requires your visitors to accept

If the check box is not selected, display an alert dialog box information the user that he or she must accept the terms. if the user clicks the Decline link, open the Declinepage.html document.

  A primitive data type that represents either true or false

A primitive data type that represents either true or false.

  Create a new class within the project

CS4001 Programming - The aim of this assignment is to add a class to the project that you developed for the first part of the coursework to make a graphical user interface (GUI) for a system that stores details of cars in a car company.

  Design and implement class instance data for title of book

Design and implement a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to accept and initialize this data.

  Program to calculate sum of squares using for loop

Given int variables k and total that have already been declared, use for loop to calculate sum of squares of first 50 counting numbers, and store this value in total.

  Calculate and print the annual salary of the employee

Calculate and print the annual salary of the employee. suppose employee receive 6% increase in pay. Calculate and print net pay giving the pay rate and hours work. Suppose deductions amount to 9% of the gross pay.

  Shows the graphic simulation of the elevator

The elevator could be called from level 2 by the external call button IP0 being pressed. The elevator doors should then close via OP3, once closed IP5 (doors closed sensor) should energise.

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