[Solved] CSE1342 LabQuiz5

$25

File Name: CSE1342_LabQuiz5.zip
File Size: 150.72 KB

SKU: [Solved] CSE1342 LabQuiz5 Category: Tag:
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 years 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;

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE1342 LabQuiz5
$25