Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Highlights: - C++ File I/O - Check Input File State Your lab instructor will guide you through the steps necessary to set up this project
Highlights: - C++ File I/O - Check Input File State Your lab instructor will guide you through the steps necessary to set up this project in their desktop IDE as part of their lab seminar. Video - Using Ct+ Strings instructions for people using our other supported Desktop IDEs can be found here: Exercises - repl.it - Exercise 1. - Visual Studio 2019 - Exercise 2 - XCode - Exercise 3 - Code:zBlocks - Exercise 4 Using the lab samples as a starting point, write a program in the file called (provided in your Navigation replit team project). Your code will: - Lab Outline - CS110 Lab Home - Read 10 float values from an input file called (you have to create the ex1_input.txt file and make up 10 numbers yourself) - Output the sum and the average of the 10 float values to an output file ex1_output.txt tidily and with labels. - Use if statements to see if the input and output files opened successfully before reading or writing with them. - Compile and run this C++ program. When you are done: - Observe the results in - Check with your lab instructor if you aren't sure if they are correct or you have doubts about the exercise, otherwise move on to the next exercise. (C) Copyright: Department of Computer Science, University of Regina
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started