Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming in C language to be run on code blocks on Windows 4. (File Processing Reading) Now that we have all of our sales recorded

image text in transcribed

Programming in C language to be run on code blocks on Windows

4. (File Processing Reading) Now that we have all of our sales recorded in a file, the manager wants to be able to look up the sales any employee had. Write a program that will read the data file written in problem 3. Your program should prompt the user to enter the first name of an employee. Once the user enters the employees name, your program should go through the file and print out any items that employee sold. After you have finished printing out all the items sold by the employee, ask the user if he/she would like to search for another employees items. Continue this until the user enters "quit 4. (File Processing Reading) Now that we have all of our sales recorded in a file, the manager wants to be able to look up the sales any employee had. Write a program that will read the data file written in problem 3. Your program should prompt the user to enter the first name of an employee. Once the user enters the employees name, your program should go through the file and print out any items that employee sold. After you have finished printing out all the items sold by the employee, ask the user if he/she would like to search for another employees items. Continue this until the user enters "quit

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

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions