Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a file that contains salesman number, salesman name, quarterly sales. Compute the total sales of every record. Compute also the commission of each salesman

image text in transcribed
Create a file that contains salesman number, salesman name, quarterly sales. Compute the total sales of every record. Compute also the commission of each salesman based on the following: Total Sales Commission 25000.00 50% of total sales or 30000.00 whichever is higher Write on the file the salesman number, name, total sales, and commission. Input salesman number and search from the file created in #1. Determine if the input number is existing in the file or not. If not, input another number, otherwise, the user will input/edit the name and input other values for the quarterly sales. Compute the total sales and commission and write it again in the file

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

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions