From the course: C++ IDE Overview
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Visual Studio
- [Instructor] Did you have fun and solve the challenge? I hope so, here is my solution to it. If you have a project open, go file, close solution, now I'm going to create a new project, file, new, project. Visual studio, Windows Council Application, double-click it, I'm going to name this project Dynamic since we're going to be dynamically calculate the average test score from user input. Click OK. Okay, this time, I don't need any of the generated code, so I'll delete this, and we'll tighten this up just a little bit, then right here below, we will say, Include and this is IO Stream, next, include string, string, then we're going to have a using name space. Next, we create our main function. By tradition, C++ programs return an integer zero with they execute out issues, so let's go ahead and do the return value right now. Zero colon, now I create three variables. First one counter keeps track of the number of test scores, the next one is total scores, which holds their sum and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.