Programming

posted by .

Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than three years, he receives a loyalty bonus of 10% of his calculated wages.

  • Programming -

    use variable.no.of sales,no.of years of type integer
    answer of type real
    Display."enter no.you want to use"
    Accept.number
    IF wage<>sales*0.15
    THEN salary:=wage+loyality
    ELSE if no. of year.3
    THEN loyality:=wage*0.1
    ELSE loyality=0

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Computer Programing & Logic Design

    Submit pseudocode and a flowchart for the following programming exercise: Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10-19 …
  2. Programming

    Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than three years, he receives a …
  3. programming

    write the pseudocode for a program to the wages of salesman according yo the following rules the wages is calculated at a rate 15%of sale if the salesman has been with the company more than three year he has loyalty bonus of 10%of …
  4. programming

    You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you are to design a program that asks for the sales figures, computes the total sales for the year, and calculates and displays the average …
  5. programming

    a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows: Tax code Sales …
  6. C Programming

    Write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and total sales …
  7. C Programming

    how do i write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and …
  8. Programming c++

    Hello, sorry if its possible i want a code written in c++. question. Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman …
  9. programming

    Design a program and write program that will read a file of sales records and produce a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the …
  10. Programming c++

    a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows: Tax code Sales …

More Similar Questions