Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Language is c++ I need help getting this expected output below i have included my main which is called lab21.cpp and my other file named

Language is c++

I need help getting this expected output below i have included my main which is called lab21.cpp and my other file named parsedata .cpp and .h file and a text file

i am not sure how i am supposed to call these functions in my file in order to be able to output my totalticket prices and total wins please show how to do this and be able to run program getting the expected output.

Expected output

image text in transcribed

text i am adding the total ticket prices and total wins

image text in transcribed

my .cpp file

image text in transcribed

my .h file

image text in transcribed

my main

image text in transcribed

Sum of ticket price 5 amounts is 280.49 Sum of wins amounts is 47

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

Decisions Based On Data Analytics For Business Excellence

Authors: Bastian Weber

1st Edition

9358681683, 978-9358681680

More Books

Students also viewed these Databases questions

Question

Why is stakeholder engagement important?

Answered: 1 week ago