Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Construct a solution algorithm for the following problems. Your solution should contain: JAVA PROGRAM A defining problem A pseudo code algorithm A desk check of

Construct a solution algorithm for the following problems. Your solution should contain: JAVA PROGRAM
A defining problem
A pseudo code algorithm
A desk check of the algorithm
Three test cases for each question. Two valid and one error test case
There is a mid-year bonus scheme in a sales organisation based on the sales performance for the first half of the year and only payout if the sales performance is on target or more (100% or more). The mid-year bonus is computed using the formula below,
Employees salary details are maintained in a file that contains employee ID, employee name and employee salary. Design an algorithm that will prompt for and receive the sale performance in percentage and compute the mid-year bonus for each employee in the file and print the employee ID, employee name and bonus.
midyear bonus= employee salary x (sales performance(%)/200)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions