Pseudocode for calculating salary The program computes and outputs the salesperson’s pay by adding the base salary to the product of the total sales and commission rate. 50, R - $15. Pseudocode, on the other hand, is a newer tool and has features that make it more reflective of the structured concepts. I have to read the hourly rate, and the amount of hours worked by the employee. 00, and S - $20. Write the pseudocode and flowchart of a program that calculate the bonus for the employees of an organization. Sep 29, 2023 · 1. Write pseudocode to design a programming solution by outlining a series of steps and using appropriate indentation and keywords . Write pseudocode to calculate the weekly pay for employees. // 3. Unfortunately, the narrative presentation is not as easy to understand and follow. What is PseudoCode: A The pseudocode and flowchart clearly show the steps involved in calculating the salary. Nov 9, 2023 · The pseudocode and flowchart for calculating an employee's pay based on hours worked and considering overtime pay, involves a simple decision structure where if hours worked is greater than 40, overtime pay is calculated at 1. Calculates the hours worked in a 252-day work year. Aug 18, 2022 · View week 3 pseudocode and flowchart. For Loops in Pseudocode For Loops (also known as definite or count-controlled iteration) are the perfect way to iterate through a list or an array. I 2. Use both a case and a selection structure. Mar 20, 2021 · How can I write a pseudocode for this? Gross pay depends on the pay rate and the number of hours worked per week. The employee earns overtime, $30 an hour, for each May 11, 2021 · The application will then calculate and display the salesman’s salary by adding the salesman’s basic salary to the product of the total sales that they had at the given point in time and the commission rate at which they were appointed. 5 times the hourl y Question: Write a complete pseudocode program based on following specification,:In module Main ( ) declare an array type double size 5 named Salary. Write a pseudocode for this program. 5 times the hourly rate for all hours worked above 40 hours. Pseudocode does not use any programming language in its representation instead it uses the simple English language text as it is intended for human understanding rather than machine reading. Example: Let's assume B works as a salaried employee, and he is paid 12 lakhs per annum. The employee earns overtime, $30 an hour, for each hour they work above 40 hours The document provides pseudocode and flowchart problems related to calculating bonuses, stamps, speed of sound, stock market returns, and bank balances. Share Answer Buku Tutorial (Repetition) everywhere for free. 00, the bonus amount is fixed, and it is equal to P300. 5%. Standard working hour = 40 hours, Standard Wage = 5$, Extra Wage= 10$ Jul 26, 2025 · A Pseudocode is defined as a step-by-step description of an algorithm. 20 // (Salary Calculator) Develop a program that will determine the gross pay for // each of several employees. The input of the program is the employee basic-salary (S). Feb 18, 2017 · Pseudocode is a programming tool that helps programmer design the problem before writing the program in a programming language. The program outputs the net pay after taxes have been deducted. 50 per hour to test the program (the pay should be 498. Interested in flipbooks about Answer Buku Tutorial (Repetition)? Check more flip ebooks related to Answer Buku Tutorial (Repetition) of Anor Rahman. Feb 14, 2023 · 2. Basics: There are 3 main types of loops in pseudocode, Do loops, While loops, and For loops. With syntax highlighting, autocomplete and more, writing pseudocode has never been easier! Forsale LanderThe simple, and safe way to buy domain names No matter what kind of domain you want to buy or lease, we make the transfer simple and safe. ,1. Question write an algorithm, pseudocode, and draw a flowchart to calculate and display net salary of an employee where basic salary inputted by the user (Calculate DA = 20% of basic salary, HRA = 15% of basic salary, PF = 10% of basic salary) This domain name has expired. Salary = (Standard Wage * Standard working hours) + (Extra Wage * Extra working hours) Working hour is input from the user. Input transport: Request the user to enter any transport allowance they receive. It should also print how much of what each person pays is for the bill and for the tip. Input: Enter the employee's gross salary. // 2. 28 (Calculating Weekly Pay) A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and "time-and-a-half"--i. Write pseudocode to design a programming solution by outlining a series of steps and using appropriate indentation and keywords. com/resources/answ Question: Write pseudocode to design a programming solution by outlining a series of Mar 2, 2023 · In this tutorial we will find the Net Pay of male and female employees by first finding the Gross Pay and deducting the; Get Fund, Insurance levy, Tax etc. Pay the hourly rate for the hours up to 40 and 1. Formulate the algorithm using pseudocode and top-down, stepwise refinement. 1. Find total amount customer has to pay based on 3 item code,price and quatity Write a pseudocode for this program. write pseudocode to calculate the total amount customer has to pay when purchasing items from a store. At a college the tuition The document provides examples of flowcharts and pseudocode to calculate sums, averages, and pay with or without overtime. The algorithm must ask the user for the number of employees for whom it is going to calculate the payment. The commission rate is expressed as a percentage. Job code hourly rates are: P - $10, Q - $12. Standard working hour = 40 hours, Standard Wage = 5$, Extra Wage= 10$ Sep 16, 2024 · 1. Question I (30 points) Write a pseudo code for a program that calculates the salary of an employee working in a company after adding bonus. Your program should print the amount of the bill, the tip, the total cost, and the amount each person has to pay. 21, perform each of these steps: // 1. The examples demonstrate different programming structures like sequence, selection, and iteration to solve common mathematical problems. Modify this Pay Calculator design to include an input validation loop to ensure that the user provides a valid employee name (non empty); otherwise, the pay is not calculated. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee's weekly paycheck. Algorithms can be expressed in various forms, including natural language, pseudocode, and programming languages. 50, R - $15. Calculate average, find maximum and minimum salaries, count salaries above a threshold, and calculate the percentage. The report needs to calculate gross pay, net pay, and total deductions. As you write your pseudocode, be sure to consider the following: May 4, 2024 · Chapter 4 Homework 1. 75). The calculation includes 6% tax. 20, page 25 (use pseudo-code) - Algorithm Design and PseudocodeImagine that you and a number of friends go to a luxury restaurant, and when you ask for the bill you want to split the amount and the tip (15 percent) between all. //This program takes in student information and calculates 2. Since the initial salary value is Jan 2, 2024 · Write a pseudocode and a flowchart to calculate the employee salary. Write pseudocode to calculate the sale price of an item after the discount is subtracted, then design the flow chart of the program. Otherwise, the salary is increased by 20%. Additionally, if the employee has worked for more than 30 hours, then he/she gets thrice the pay per hour for every extra hour worked. 2. The employee earns overtime, $30 an hour, for each hour above 40 Chapter 4 Homework omar rasoli itp 1. It employs a CASE structure to determine the hourly rate corresponding to the job code entered by the user. 2) Write a pseudocode to calculate the weekly wages of an employee. Use both a case and a selection structure. m. Add these components to calculate the Gross Salary. Question: write a pseudocode to calculate and display the gross pay for an hourly paid employee. As you write your pseudocode, be sure to consider the following: Many computer languages share common tasks such as iterating through loops, branching based on if-then-else logic and performing calculations. The program will then prompt the user (us/programmer) to insert the employee The provided algorithm and pseudocode outline the steps to create a program that computes and prints the net pay of an employee based on the input of hours worked, rate, and deductions. Describe an algorithm that computes the employee’s gross salary given the hours work and the hourly rate. At the end of it I've to di Activity 3 Pseudocode for the salary component Figure 1 Explanation of salary pseudo code Begin: Start of the code execution. 5 times the hourly pay. Draw the flowchart of pseudocode given below: 1 4. May 25, 2023 · Alfonso Gonzalez T. 2 Define the problem - Pseudo code algorithm - Desk check of algorithm - Java code Employees' annual bonus and salary increment are computed based on employee performance. At a college the tuition for 1 credit hour is $500, but student are Sep 5, 2019 · Draw a flowchart and write pseudocode to represent the logic of a program that: Allows the user to enter a value for hours worked in a day. Write pseudocode to calculate the weekly income of an employee. Pseudocode example for calculating salary with overtime pay. bonus amount = 20% of basic salary gross salary = bonus amount + basic salary Approach: In this code, we will be displaying an input box Write pseudocode to calculate the weekly pay for employees. Alicia Dailey 3-3 Assignment: Introduction to Pseudocode and Flowcharts Southern New Hampshire Jul 23, 2025 · The task of calculating the Gross Salary of a Person in Python involves taking the basic salary and grade as input, applying the necessary calculations for salary components and displaying the final salary. The use of a constant ratePerHour makes the code more readable and maintainable. The salary depends on pay per hour and the number of hours worked. The user will prompted to enter the number of hours worked and their job code. The document contains examples of flowcharts and pseudocode for calculating pay, summing numbers, averaging numbers, calculating pay with overtime, averaging numbers using while and for loops, and defining a function to calculate an average. The problems involve reading input values, performing conditional logic and calculations, and printing output messages. The key examples are: 1) Calculating the sum of two numbers as a sequence of steps 2) Calculating pay as hours times rate, with inputs for hours and rate 3) Calculating the average of three numbers by summing inputs then Mar 31, 2024 · Lopez 1 Cane Lopez SNHU IT-140 1/28/2024 Module Three: Pseudocode and Flowchart Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. The flowchart for this program would consist of the following steps: Start Input hours worked, rate, and deductions Calculate gross pay by multiplying hours worked with the rate Calculate net pay by subtracting Question: Problem R1. I have to display the hours, hourly rate, and the gross pay of the employee. Pseudocode resembles code, but it’s not really code (it won’t compile in Java). The employee earns overtime, $30 an hour, for each hour they work above 40 hours. //how many credits the student has left before graduation. In order to keep track of the total number of hours worked and the total amount paid, we establish certain initial values, such as the hourly pay rate, regular hours (40 hours per week), overtime pay rate, and initialize variables. Get overtime_rate: Retrieve the overtime rate for calculating overtime The Pseudocode: Step-by-Step Explanation: 1. The program outputs the user’s gross pay [25] 1. It includes sequences, selections, and iterations. Hours in excess of 40 are paid at1. Question: write an algorithm, pseudocode, and draw a flowchart to calculate and display net salary of an employee where basic salary inputted by the user (Calculate DA = 20% of basic salary, HRA = 15% of basic salary, PF = 10% of basic salary) Preview text Pseudocode 140 intro to Scripting calculating weekly paycheckStep 1: Input Prompt user for Hours_worked Step 2: Constants Set Hourly_rate to 20 Set Overtime_rate to 30 Set Regular_hours to 40 Step 3: Calculate total pay IF Hours_worked > Regular_hours THEN Set Regular_pay to Regular_hours * Hourly_rate Set Overtime_hours to Hours_worked - Regular_hours Set Overtime_pay to Introduction to Pseudocode and Flowcharts assignment: introduction to pseudocode and flowcharts problem: company wants program that will calculate the weekly Algorithm and Flowchart to calculate Gross salary and Net salary of an employee #algorithmtocalculategrosssalaryandnetsalaryofanemployee Algorithm #algorithm Flowchart #flowchart If you required Feb 27, 2024 · The pseudocode provided outlines a simple decision-making structure based on the value of salary. If the salary is greater than 400, the pseudocode indicates that a bonus of 10 is added to the salary. 00 ii. pseudocode: 1) Get the number of hours worked. Write a program to prompt the user for hours and rate per hour using input to compute gross pay. They are much easier than they looks, and they are very simple once you start Rhylan Hildner Southern New Hampshire University IT- 3/24/ Module Three: Pseudocode and Flowchart Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. To calculate gross pay of a salaried employee, we need to divide the annual salary by number of pay periods in a year (i. Suppose the discount is 20% Pseudocode 1 Start 2 Input the item price 3. detailed plan encompassing activities like gathering hours worked, computing taxes, and other related tasks include the following in your program. Also deduct 10% salary from the Gross Salary to be paid as tax. ” pseudocode flowchart edited May 11, 2021 at 9:38 Toto Oct 14, 2022 · 7. Justin Logan IT-140 5/19/2023 Module 3 Assignment Pseudocode Input an integer of $20 per hour Salary for each employee Each Question: Homework Write a pseudocode to calculate the weekly pay for employees. Read the problem statement. Well, one helpful technique that many programmers use to solve complex problems is called pseudocode! Pseudocode is a way to break down problems into manageable steps so that we don’t have to come up with the entire solution in our minds before writing it down. This could be Oct 15, 2023 · To calculate the amount of money that each person has to pay when splitting the bill and tip at a luxury restaurant, you can use the following pseudocode: Take input for the bill amount. e. The user will be prompted to enter the number of hours worked and their job code. 00. 00, and S - $22. Apr 26, 2021 · View flipping ebook version of Answer Buku Tutorial (Repetition) published by Anor Rahman on 2021-04-26. The user will prompted to Jenter the number of hours worked and their job code. 5*hourly rate. It is a finite sequence of well-defined instructions to achieve a specific goal. Test, debug, and execute the C program. Input medical: Gather information on any medical allowance that is part of the salary package. The gross salary is the bonus amount + basic salary. 3. Job code hourly rates are: P - $15, Q - $17. Pseudocode is the intermediate state between an idea and its implementation (code) in a high-level language. - nick-neely/payroll-calculator Write pseudocode for calculating the amount of money that everyone has to pay. Use 45 hours and a rate of 10. Oct 15, 2023 · To calculate the amount of money that each person has to pay when splitting the bill and tip at a luxury restaurant, you can use the following pseudocode: Take input for the bill amount. Week 2 Assignment 1: Flowchart and Pseudocode Assignment @ Chatly New Chrome av • Hide Assignment Information Instructions Before you attempt the Programming assignment, create a flowchart using correct symbol notation and corresponding pseudocode with proper indentation for the algorithm that will be used to solve the following programming problem: In this assignment, you will create a Write pseudocode for calculating the amount of money that everyone has to pay. If the hours exceed 40 compute, the overtime will be paid 1. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee’s weekly paycheck. The key examples are: 1) Calculating the sum of two numbers as a sequence of steps 2) Calculating pay as hours times rate, with inputs for hours and rate 3) Calculating the average of three numbers by summing inputs then Customer: Could you create a flowchart and pseudocode for a project that generates a Weekly Payroll Report? It should include the main loop, housekeeping, finishing up, and at least two modules. I have to create a salary/bonus calculator. Write pseudocode using our free online editor & compiler. Entry of the employee's first and last name, ID, number of dependents, hours worked Oct 21, 2011 · I am having to create a algarithm that will determine the gross pay of a particular employee. Bonus multiplier and salary increment percentage are defined in the below table: Performance Rating Description 1 Require Improvement 2 Achieved 3 Exceed Bonus Multiplier 0. // Prompt the user to enter the number of hours Write pseudocode to calculate the weekly pay for employees. A Python payroll calculator that computes total hours worked, overtime, gross pay, FICA tax, and net pay, and saves the data in JSON format. Importance of Pseudocode Pseudocode is a high-level For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee’s weekly paycheck. 5, R - $19. 4. Step 1: Start Step 2: Declare variables hours, wages per hour, salary Step 3: Read wages per hour Step 4: IF hours > 40 then a. Given that the salary is 400, the condition for the if statement is not met, so the else section is executed instead. 2 Pseudocode 1: Complete the following pseudocode to solve the programming problem. Write pseudocode for calculating the amount of money that everyone has to pay. 5 times their hourly wage--for overtime worked over 40 hours), commission workers Understanding Algorithms and Pseudocode Definition of Algorithms An algorithm is a step-by-step procedure or formula for solving a problem. Mar 23, 2021 · 1. 08, 2023 02:19 p. YES: calculate deduction NO: no deduction Write name, gross, deduction, net pay PSEUDOCODE: READ name, hourlyRate, hoursWorked grossPay = hourlyRate * hoursWorked IF grossPay >= 100 deduction = grossPay * deductionRate ELSE deduction = 0 ENDIF netPay = grossPay – deduction WRITE name, grossPay, deduction, netPay Write the pseudocode of an employee's net pay, so that the algorithm computes pay for multiple employees. Outputs all the results. 5 Salary Increment 2% 5% 8% Annual bonus is Sep 11, 2023 · Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter values for a salesperson’s base salary, total sales, and commission rate. For this company, an employee earns $20 an hour for the first 40 hours that they work. Write a C program. sal = hrs * hr rate = 5 * 10 = 50 Step 1: Start Step 2: Declare variables salary, hours, and rate Step 3: Read variables hours and rate Step 4: Calculate salary = hours * rate Step 5 IT -140 Mod 3 Jordan Lightner 1/26/2025 Pseudocode: #Establish hourly rate Hourly_rate = 20 #Input the number of hours employees worked Write pseudocode to calculate the weekly pay for employees. under 20000 will be 7% and over that will be 5. 5 times their hourly wage--for overtime worked over 40 hours), commission workers Jun 27, 2025 · Worksheet: Learn Pseudocode and Flowcharts 2 pg. At a college the Write pseudocode to calculate the weekly income of an employee. Job code hourly rates are: P - $10, Q - $12, R - $15, and S - $20. how many installments they are getting paid in a year). Hours in excess of 40 are paid at 1. You can use these and other operations to construct a pseudocode program that does not run on a computer, but instead runs in your mind as you review it on paper. The program should display: Total Salary was $ Chapter 4 Homework omar rasoli itp 1. 5 1 1. Get employee_id: Retrieve the employee ID from the user. Calculates the hours worked in a five-day week. However, if you work more than 40 hours, you get paid time-and-a-half for all hours The program's flow, including decision points for regular and overtime hours, is visually represented by the flowchart, while the provided pseudocode describes the necessary steps, such as variable initialization, input processing, and output generation. Loops are also known as iteration, meaning the repetition of a block of code. Oct 29, 2019 · 1. 3 Modify the program that computes gross pay to allow the user to enter the income tax rate. Get monthly_salary: Retrieve the monthly salary of the employee from the user. Dec 18, 2023 · Here's a breakdown of the key elements included in such a flowchart: Start: The process begins with a clear start symbol, often a circle. // For exercises 3. It was built as part of SNHU's IT-140 Module 3 coursework. Assume that 15% of the salary is deducted as taxes Jan 26, 2024 · View Module 3. Prompt the user to enter the Basic Salary, HRA, TA, and DA. Sep 2, 2021 · To compute the net salary, we can write a pseudocode that follows these steps: Input basic_salary: Ask the user to provide their basic salary, which is the starting point for salary calculation. If you are the registered holder of this name and wish to renew it, please contact your registration service provider. 28 (Calculating Weekly Pay) A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and Sep 24, 2024 · Calculate the salary (daily) of a worker. Usea for loop to enter Salary for 5 employees into the array. Goldie IT - 140 19 March 2023 Module 3 assignment is to write the psedocode and flow chart for the following: Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. Feb. //Information is then printed to the screen. If the user decides not to provide an employee name, program will move to the next employee. A comment notes Write pseudocode to calculate the weekly pay for employees. Draw problem analysis chart, interactivity chart, IPO chart, and flowchart. We begin by starting the program. Additionally, it should print Employee Number, Name, Hours, Rate, Gross Pay, Net Pay, and total deductions. 5. Includes variable definitions, input, and conditional logic. Pseudocode: # Question: Write a pseudocode and a flowchart to calculate the employee salary. A player earns R70 000 per game and as the players fall within a higher tax bracket, they automatically pay 25% tax on their earnings. 28 (Calculating Weekly Pay) A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and Engineering Computer Science Computer Science questions and answers developing a pseudocode to manage payroll for a specified list of 10 employees. 5 times the hourly pay and added to regular pay, else total pay is calculated as the product of hours worked and hourly pay. wyzant. Jun 1, 2023 · The pseudocode calculates gross pay for five employees by asking for their name, hourly wage, and hours worked. . 17 to 3. Job code hourly rates are: P - $10, Q - $12. As for the pseudo-code, you could break it into two lines/calculations pay = / overtime = and then add them together, you could break out hours and overtime hours, and/or add another "overtime_rate". Pseudocode Input: pay per hour as wages per hour YES: calculate deduction NO: no deduction Write name, gross, deduction, net pay PSEUDOCODE: READ name, hourlyRate, hoursWorked grossPay = hourlyRate * hoursWorked IF grossPay >= 100 deduction = grossPay * deductionRate ELSE deduction = 0 ENDIF netPay = grossPay – deduction WRITE name, grossPay, deduction, netPay Question: UNIT 2: Algorithms and Flowchart 1) Write an algorithm and draw a flowchart that calculates salary of an emplo yee. Calculate thetotal salary and display. Write the pseudocode for an application that will pass the number of games a player has played to a module which will calculate the net salary of a player. 5 times the hourly pay. An employee is given a salary based on the number of hours he worked and his pay per hour rate. The user will prompted toenter the number of hours worked and their job code. Depending on what salary is enter the bonus will be higher or lower/ eg. 00, and S- $20. The calculation should be as follows. //Declare variables 5. Input housing: Ask the Draw a pseudocode to calculate bonus of employees Where females are paid 7% of their basic salary and males are paid 5% of their basic salary Jun 10, 2022 · Salary is usually quoted annually but commonly, employees are paid monthly. The net salary will be passed back to the mainline logic of the application which will display the net Jul 11, 2021 · 1. Finally, it outputs the employee name, hours worked, and gross pay for each employee. Hours in excess of 40 are paid at 1 times the hourly pay. This domain name has expired. Question: write an algorithm, pseudocode, and draw a flowchart to calculate and display net salary of an employee where basic salary inputted by the user (Calculate DA = 20% of basic salary, HRA = 15% of basic salary, PF = 10% of basic salary) Preview text Pseudocode 140 intro to Scripting calculating weekly paycheckStep 1: Input Prompt user for Hours_worked Step 2: Constants Set Hourly_rate to 20 Set Overtime_rate to 30 Set Regular_hours to 40 Step 3: Calculate total pay IF Hours_worked > Regular_hours THEN Set Regular_pay to Regular_hours * Hourly_rate Set Overtime_hours to Hours_worked - Regular_hours Set Overtime_pay to Introduction to Pseudocode and Flowcharts assignment: introduction to pseudocode and flowcharts problem: company wants program that will calculate the weekly Jun 1, 2023 · The pseudocode calculates gross pay for five employees by asking for their name, hourly wage, and hours worked. As usual include the three modules for Apr 25, 2019 · 1. View full question and answer details: https://www. Jul 23, 2025 · In this article, we will learn how to create a JavaScript program that will ask the user to enter their basic salary and then calculate the bonus amount which will be 20% of their basic salary or base pay. i i If the pay is more that P3,000. Get employee_name: Retrieve the employee name from the user. // // Exercise 3. Workers may also work Write pseudocode for calculating the total net pay: Input = names, deductions and salary Process = net pay for each Output = print name and net pay for each When a name of "zz" is input, print total net pay Submitted by Mary J. Jun 10, 2024 · The pseudocode efficiently handles the task of calculating weekly pay for employees based on their hours worked and job code. docx from IT 140 at Southern New Hampshire University. This project contains pseudocode designed to calculate an employee's gross pay, including standard and overtime wages. Pseudocode and flowcharts are required to model the algorithms. In this video, lets learn about what is pseudocode meaning, steps involved in writing pseudocode algorithm, its benefits and how to write pseudocode explained. Customer: Could you create a flowchart and pseudocode for a project that generates a Weekly Payroll Report? It should include the main loop, housekeeping, finishing up, and at least two modules. 2) Get the hourly pay rate. The company pays Write the flowchart and pseudocode to produce a Weekly Payroll Report. Write a Pseudocode to calculate the salary of an employee. It applies overtime calculations for hours worked over 40, resulting in a gross pay that includes standard and overtime rates. Learn how to perform statistical calculations on salaries in a department using pseudocode. 2 Write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. Here's how it works Pseudocode and Flowchart Below is the pseudocode for the proposed problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. // 4. Write pseudocode to calculate the weekly pay for employees. jgecaqi pnpbhwq pkssrt auqgz azeq gqgytsz pheuh huzevl wysjg udme japdhl zexwjef sguqn eidr zspvsuu