SlideShare a Scribd company logo
1 of 1
Download to read offline
Open a new project in Visual Studio Community and name it in the form of Last name
CourseSection Assignment3. You are expected to use Loops and IO filestreams in this program.
Write comments to explain what each statement does, and how it achieves the desired results
(Remember to review the rubric posted under Course Materials to understand how your program
will be graded) PART 1: Write a program in C + that permits users to enter the following
information about your company's five employees and writes the following information to the
file (data.txt). Employee ID. Name Years with company Hourly Wages All information must be
displayed in a well formatted manner, so you can put in relevant manipulators for this purpose.
Run your program, put in employee information (for 5 employees), and verify if you have a txt
file as required. PART 2: At this point you must have a . ta file with information of 5 employees.
Go back to your C + + program (from part 1). put the entire existing program from part I within
block comstents / ..... %/ Now write a new program for part 2 (in that same C + + file) as per
instractions given below: Write a C + program that reads this file data.txt, one line at a time, asks
for the number of hours worked by each employee per month and calculates their total pay for
that month. So for each of the employee records that stream in, your program must ask user:
Enter hours worked by (name of employee)t When user puts in the answer, program must
calculate the total salary and display on the computer sereen as " The salary of (name) is S
(salary). EXIRA CREDIT (10 points) Make provisions in your part 2 program for the salary
information (along with some other employee details) to be stored in a new file called
(February_salary.txt). Your information must be saved to the file in the following format. ID no.
Name Hourly wages Salary

More Related Content

Similar to Open a new project in Visual Studio Community and name it in the form.pdf

You are a software development employee at a startup company. Yo
You are a software development employee at a startup company. YoYou are a software development employee at a startup company. Yo
You are a software development employee at a startup company. Yoruthannemcmullen
 
Data structures POS 408 University of Phoenix.docx
Data structures POS 408 University of Phoenix.docxData structures POS 408 University of Phoenix.docx
Data structures POS 408 University of Phoenix.docxwrite31
 
C programming session 13
C programming session 13C programming session 13
C programming session 13Vivek Singh
 
CIS 247C iLab 4 of 7: Composition and Class Interfaces
CIS 247C iLab 4 of 7: Composition and Class Interfaces  CIS 247C iLab 4 of 7: Composition and Class Interfaces
CIS 247C iLab 4 of 7: Composition and Class Interfaces HomeWork-Fox
 
This assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docxThis assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docxdunningblair
 
C programming session 09
C programming session 09C programming session 09
C programming session 09Dushmanta Nath
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examplesAmit Sharma
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examplesAmit Soni
 
Visual c++ 2010_tutorial
Visual c++ 2010_tutorialVisual c++ 2010_tutorial
Visual c++ 2010_tutorialAyub Abd Rahman
 
EN3085 Assessed Coursework 1 1. Create a class Complex .docx
EN3085 Assessed Coursework 1  1. Create a class Complex .docxEN3085 Assessed Coursework 1  1. Create a class Complex .docx
EN3085 Assessed Coursework 1 1. Create a class Complex .docxgidmanmary
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxAASTHA76
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comULLPTT
 
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docxLab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docxDIPESH30
 
Qalcwise designer application kp is - unit 120 v20160314
Qalcwise designer   application kp is - unit 120 v20160314Qalcwise designer   application kp is - unit 120 v20160314
Qalcwise designer application kp is - unit 120 v20160314qalcwise
 
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxStudent Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxemelyvalg9
 

Similar to Open a new project in Visual Studio Community and name it in the form.pdf (18)

You are a software development employee at a startup company. Yo
You are a software development employee at a startup company. YoYou are a software development employee at a startup company. Yo
You are a software development employee at a startup company. Yo
 
Data structures POS 408 University of Phoenix.docx
Data structures POS 408 University of Phoenix.docxData structures POS 408 University of Phoenix.docx
Data structures POS 408 University of Phoenix.docx
 
C programming session 13
C programming session 13C programming session 13
C programming session 13
 
CIS 247C iLab 4 of 7: Composition and Class Interfaces
CIS 247C iLab 4 of 7: Composition and Class Interfaces  CIS 247C iLab 4 of 7: Composition and Class Interfaces
CIS 247C iLab 4 of 7: Composition and Class Interfaces
 
Salesforce crm projects
Salesforce crm projects Salesforce crm projects
Salesforce crm projects
 
This assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docxThis assignment consists of four short programs. Use CodeBlock.docx
This assignment consists of four short programs. Use CodeBlock.docx
 
C programming session 09
C programming session 09C programming session 09
C programming session 09
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
 
Visual c++ 2010_tutorial
Visual c++ 2010_tutorialVisual c++ 2010_tutorial
Visual c++ 2010_tutorial
 
EN3085 Assessed Coursework 1 1. Create a class Complex .docx
EN3085 Assessed Coursework 1  1. Create a class Complex .docxEN3085 Assessed Coursework 1  1. Create a class Complex .docx
EN3085 Assessed Coursework 1 1. Create a class Complex .docx
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
 
E7
E7E7
E7
 
A06
A06A06
A06
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
 
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docxLab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
 
Qalcwise designer application kp is - unit 120 v20160314
Qalcwise designer   application kp is - unit 120 v20160314Qalcwise designer   application kp is - unit 120 v20160314
Qalcwise designer application kp is - unit 120 v20160314
 
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxStudent Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
 

More from Nathan2rSPeakes

Paul Sutton had been working for the student life department of Southe.pdf
Paul Sutton had been working for the student life department of Southe.pdfPaul Sutton had been working for the student life department of Southe.pdf
Paul Sutton had been working for the student life department of Southe.pdfNathan2rSPeakes
 
Pathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdf
Pathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdfPathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdf
Pathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdfNathan2rSPeakes
 
Parties to a Blank - an agreement where each party has some probabilit.pdf
Parties to a Blank - an agreement where each party has some probabilit.pdfParties to a Blank - an agreement where each party has some probabilit.pdf
Parties to a Blank - an agreement where each party has some probabilit.pdfNathan2rSPeakes
 
Patent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdf
Patent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdfPatent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdf
Patent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdfNathan2rSPeakes
 
Paul Sutton had been working for the student life department of Southe (1).pdf
Paul Sutton had been working for the student life department of Southe (1).pdfPaul Sutton had been working for the student life department of Southe (1).pdf
Paul Sutton had been working for the student life department of Southe (1).pdfNathan2rSPeakes
 
Patient is a 65-year old woman presenting with a 2-week cough and shor.pdf
Patient is a 65-year old woman presenting with a 2-week cough and shor.pdfPatient is a 65-year old woman presenting with a 2-week cough and shor.pdf
Patient is a 65-year old woman presenting with a 2-week cough and shor.pdfNathan2rSPeakes
 
Parties to a Blank - an agreement where each party has some p.pdf
Parties to a     Blank      - an agreement where each party has some p.pdfParties to a     Blank      - an agreement where each party has some p.pdf
Parties to a Blank - an agreement where each party has some p.pdfNathan2rSPeakes
 
Part Two Read the chapter case- Developing a Strategic Prospecting Pla.pdf
Part Two Read the chapter case- Developing a Strategic Prospecting Pla.pdfPart Two Read the chapter case- Developing a Strategic Prospecting Pla.pdf
Part Two Read the chapter case- Developing a Strategic Prospecting Pla.pdfNathan2rSPeakes
 
Ooenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdf
Ooenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdfOoenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdf
Ooenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdfNathan2rSPeakes
 
On October 10- the board of directors of Skysong Corporation declared.pdf
On October 10- the board of directors of Skysong Corporation declared.pdfOn October 10- the board of directors of Skysong Corporation declared.pdf
On October 10- the board of directors of Skysong Corporation declared.pdfNathan2rSPeakes
 
Once a user successfully authenticates against a web application- they.pdf
Once a user successfully authenticates against a web application- they.pdfOnce a user successfully authenticates against a web application- they.pdf
Once a user successfully authenticates against a web application- they.pdfNathan2rSPeakes
 
On October 10- the board of directors of Skysong Corporation declared (1).pdf
On October 10- the board of directors of Skysong Corporation declared (1).pdfOn October 10- the board of directors of Skysong Corporation declared (1).pdf
On October 10- the board of directors of Skysong Corporation declared (1).pdfNathan2rSPeakes
 
On November 32022- Nova Corporation's Board of Directors declared a di.pdf
On November 32022- Nova Corporation's Board of Directors declared a di.pdfOn November 32022- Nova Corporation's Board of Directors declared a di.pdf
On November 32022- Nova Corporation's Board of Directors declared a di.pdfNathan2rSPeakes
 
On May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdf
On May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdfOn May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdf
On May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdfNathan2rSPeakes
 
One of the government social programs that is facing obstacles is Soci.pdf
One of the government social programs that is facing obstacles is Soci.pdfOne of the government social programs that is facing obstacles is Soci.pdf
One of the government social programs that is facing obstacles is Soci.pdfNathan2rSPeakes
 
On June 21 - which of the following locations has the shortest day- Om.pdf
On June 21 - which of the following locations has the shortest day- Om.pdfOn June 21 - which of the following locations has the shortest day- Om.pdf
On June 21 - which of the following locations has the shortest day- Om.pdfNathan2rSPeakes
 
Part 2- Encoding a Message - Select a symmetric cipher other than shif.pdf
Part 2- Encoding a Message - Select a symmetric cipher other than shif.pdfPart 2- Encoding a Message - Select a symmetric cipher other than shif.pdf
Part 2- Encoding a Message - Select a symmetric cipher other than shif.pdfNathan2rSPeakes
 
Part c please (a) Suppose that 4 persons are playing one round of rock.pdf
Part c please (a) Suppose that 4 persons are playing one round of rock.pdfPart c please (a) Suppose that 4 persons are playing one round of rock.pdf
Part c please (a) Suppose that 4 persons are playing one round of rock.pdfNathan2rSPeakes
 
part B Pharoah Corporation's capital structure consists of 50-000 shar.pdf
part B Pharoah Corporation's capital structure consists of 50-000 shar.pdfpart B Pharoah Corporation's capital structure consists of 50-000 shar.pdf
part B Pharoah Corporation's capital structure consists of 50-000 shar.pdfNathan2rSPeakes
 
Part 2- Human Population- Ecologists often think about the dynamics o.pdf
Part 2-  Human Population- Ecologists often think about the dynamics o.pdfPart 2-  Human Population- Ecologists often think about the dynamics o.pdf
Part 2- Human Population- Ecologists often think about the dynamics o.pdfNathan2rSPeakes
 

More from Nathan2rSPeakes (20)

Paul Sutton had been working for the student life department of Southe.pdf
Paul Sutton had been working for the student life department of Southe.pdfPaul Sutton had been working for the student life department of Southe.pdf
Paul Sutton had been working for the student life department of Southe.pdf
 
Pathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdf
Pathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdfPathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdf
Pathogen associated molecular patterns (PAMPs) found on Bacteria virus.pdf
 
Parties to a Blank - an agreement where each party has some probabilit.pdf
Parties to a Blank - an agreement where each party has some probabilit.pdfParties to a Blank - an agreement where each party has some probabilit.pdf
Parties to a Blank - an agreement where each party has some probabilit.pdf
 
Patent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdf
Patent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdfPatent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdf
Patent Dete Aloth mank andes and as innales lifetyle PreadiaberteBased.pdf
 
Paul Sutton had been working for the student life department of Southe (1).pdf
Paul Sutton had been working for the student life department of Southe (1).pdfPaul Sutton had been working for the student life department of Southe (1).pdf
Paul Sutton had been working for the student life department of Southe (1).pdf
 
Patient is a 65-year old woman presenting with a 2-week cough and shor.pdf
Patient is a 65-year old woman presenting with a 2-week cough and shor.pdfPatient is a 65-year old woman presenting with a 2-week cough and shor.pdf
Patient is a 65-year old woman presenting with a 2-week cough and shor.pdf
 
Parties to a Blank - an agreement where each party has some p.pdf
Parties to a     Blank      - an agreement where each party has some p.pdfParties to a     Blank      - an agreement where each party has some p.pdf
Parties to a Blank - an agreement where each party has some p.pdf
 
Part Two Read the chapter case- Developing a Strategic Prospecting Pla.pdf
Part Two Read the chapter case- Developing a Strategic Prospecting Pla.pdfPart Two Read the chapter case- Developing a Strategic Prospecting Pla.pdf
Part Two Read the chapter case- Developing a Strategic Prospecting Pla.pdf
 
Ooenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdf
Ooenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdfOoenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdf
Ooenwin - Unadjusted Trial Balance At January 31 Accounts Titles Cash.pdf
 
On October 10- the board of directors of Skysong Corporation declared.pdf
On October 10- the board of directors of Skysong Corporation declared.pdfOn October 10- the board of directors of Skysong Corporation declared.pdf
On October 10- the board of directors of Skysong Corporation declared.pdf
 
Once a user successfully authenticates against a web application- they.pdf
Once a user successfully authenticates against a web application- they.pdfOnce a user successfully authenticates against a web application- they.pdf
Once a user successfully authenticates against a web application- they.pdf
 
On October 10- the board of directors of Skysong Corporation declared (1).pdf
On October 10- the board of directors of Skysong Corporation declared (1).pdfOn October 10- the board of directors of Skysong Corporation declared (1).pdf
On October 10- the board of directors of Skysong Corporation declared (1).pdf
 
On November 32022- Nova Corporation's Board of Directors declared a di.pdf
On November 32022- Nova Corporation's Board of Directors declared a di.pdfOn November 32022- Nova Corporation's Board of Directors declared a di.pdf
On November 32022- Nova Corporation's Board of Directors declared a di.pdf
 
On May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdf
On May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdfOn May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdf
On May 1- Carla Vista Corporation purchased 3-300 shares of its $10 pa.pdf
 
One of the government social programs that is facing obstacles is Soci.pdf
One of the government social programs that is facing obstacles is Soci.pdfOne of the government social programs that is facing obstacles is Soci.pdf
One of the government social programs that is facing obstacles is Soci.pdf
 
On June 21 - which of the following locations has the shortest day- Om.pdf
On June 21 - which of the following locations has the shortest day- Om.pdfOn June 21 - which of the following locations has the shortest day- Om.pdf
On June 21 - which of the following locations has the shortest day- Om.pdf
 
Part 2- Encoding a Message - Select a symmetric cipher other than shif.pdf
Part 2- Encoding a Message - Select a symmetric cipher other than shif.pdfPart 2- Encoding a Message - Select a symmetric cipher other than shif.pdf
Part 2- Encoding a Message - Select a symmetric cipher other than shif.pdf
 
Part c please (a) Suppose that 4 persons are playing one round of rock.pdf
Part c please (a) Suppose that 4 persons are playing one round of rock.pdfPart c please (a) Suppose that 4 persons are playing one round of rock.pdf
Part c please (a) Suppose that 4 persons are playing one round of rock.pdf
 
part B Pharoah Corporation's capital structure consists of 50-000 shar.pdf
part B Pharoah Corporation's capital structure consists of 50-000 shar.pdfpart B Pharoah Corporation's capital structure consists of 50-000 shar.pdf
part B Pharoah Corporation's capital structure consists of 50-000 shar.pdf
 
Part 2- Human Population- Ecologists often think about the dynamics o.pdf
Part 2-  Human Population- Ecologists often think about the dynamics o.pdfPart 2-  Human Population- Ecologists often think about the dynamics o.pdf
Part 2- Human Population- Ecologists often think about the dynamics o.pdf
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Open a new project in Visual Studio Community and name it in the form.pdf

  • 1. Open a new project in Visual Studio Community and name it in the form of Last name CourseSection Assignment3. You are expected to use Loops and IO filestreams in this program. Write comments to explain what each statement does, and how it achieves the desired results (Remember to review the rubric posted under Course Materials to understand how your program will be graded) PART 1: Write a program in C + that permits users to enter the following information about your company's five employees and writes the following information to the file (data.txt). Employee ID. Name Years with company Hourly Wages All information must be displayed in a well formatted manner, so you can put in relevant manipulators for this purpose. Run your program, put in employee information (for 5 employees), and verify if you have a txt file as required. PART 2: At this point you must have a . ta file with information of 5 employees. Go back to your C + + program (from part 1). put the entire existing program from part I within block comstents / ..... %/ Now write a new program for part 2 (in that same C + + file) as per instractions given below: Write a C + program that reads this file data.txt, one line at a time, asks for the number of hours worked by each employee per month and calculates their total pay for that month. So for each of the employee records that stream in, your program must ask user: Enter hours worked by (name of employee)t When user puts in the answer, program must calculate the total salary and display on the computer sereen as " The salary of (name) is S (salary). EXIRA CREDIT (10 points) Make provisions in your part 2 program for the salary information (along with some other employee details) to be stored in a new file called (February_salary.txt). Your information must be saved to the file in the following format. ID no. Name Hourly wages Salary