[SOLVED] CSE1342 LabQuiz5

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab-5-ykdhhu.zip (96 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

In economics, the unemployment rate is one way to measure how well a countryS economy is doing. Your program will read an  unemployment data file and produce that year’s average unemployment rate. The unemployment data was obtained from the U.S. Bureau  of Labor Statistics..

Steps to follow:

Prompt the user for the filename to open with the phrase “enter filename”.. If the user does not enter. unemp.txt, display “error in file name, renter” and allow the user to enter the filename again until the user enters unemp.txt. The first line in the file containing column headings  should be read but then ignored in your program. Each subsequent line in the file contains the year followed by 12 months of unemployment data for that year. The unemployment data is separated by the tab character. Your program will read the data in each line, total the unemployment values for the 12 months and display to the screen the year and the average employment for that year in a line  formatted as follows: The average unemployment for year < year > is Make sure the average is in fixed point notation, rounded to two decimal places.

7.8.1: LabQuiz5

ACTIVITY

Load default template…

1

2

3

4

5

6

7

8

9

main.cpp

*include <iostream>

*include

*include < iomanip>

using namespace std;

int main {

// enter your code here

return’ 0;

  • Lab-5-ykdhhu.zip