Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a project named Pro s Fwe aerk use the material inanapter 2 to ereate a program that in a single main function: Processes data

image text in transcribed
image text in transcribed
create a project named Pro s Fwe aerk use the material inanapter 2 to ereate a program that in a single main function: Processes data from an input file o The first line of the input fae should contain exactly one character The character should be printable, but not alphanumeric This character will be used in your program as a Each section separator should be 60 Wong o The input file should contain three entries containing: First Name and Last Name, separated by white space value order 4 salary entries in chronological (not necessarily ascending Accepts the full path to a file on the computer as input. o Use a separator before printing the next section. For each entry Print the pet son's last name and first name. o Print the current salary to 2 decimal places. places. Print the average raise received to 2 decimal to 4 places. o Print the average rate of increase as a percentage decimal salary Rate of salary increase the geometric average. Find all three of these and compute Print another separator, then: in the input file. Print the average (current) salary for all of the people Print the average rate of salary increase for all. The produced output must look exactly like my output, as this exercise is about formatting. Notes The rubric for this assignment follows: description: 70% Program all tasks listed in assignment etc.:15% etc.): 15% fulfills fashion (uses functions, comments, Program is organized in a logical (meaningful identifiers, folder. Program nforms to style guidelines share drive co not placed in the appropriate No credit will be received for assignments create a project named Pro s Fwe aerk use the material inanapter 2 to ereate a program that in a single main function: Processes data from an input file o The first line of the input fae should contain exactly one character The character should be printable, but not alphanumeric This character will be used in your program as a Each section separator should be 60 Wong o The input file should contain three entries containing: First Name and Last Name, separated by white space value order 4 salary entries in chronological (not necessarily ascending Accepts the full path to a file on the computer as input. o Use a separator before printing the next section. For each entry Print the pet son's last name and first name. o Print the current salary to 2 decimal places. places. Print the average raise received to 2 decimal to 4 places. o Print the average rate of increase as a percentage decimal salary Rate of salary increase the geometric average. Find all three of these and compute Print another separator, then: in the input file. Print the average (current) salary for all of the people Print the average rate of salary increase for all. The produced output must look exactly like my output, as this exercise is about formatting. Notes The rubric for this assignment follows: description: 70% Program all tasks listed in assignment etc.:15% etc.): 15% fulfills fashion (uses functions, comments, Program is organized in a logical (meaningful identifiers, folder. Program nforms to style guidelines share drive co not placed in the appropriate No credit will be received for assignments

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_2

Step: 3

blur-text-image_3

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions