Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using c++ please. i just want lab 2 so it's just a modification to lab 1 which i already did but i just couldnot lab

using c++ please. i just want lab 2 so it's just a modification to lab 1 which i already did but i just couldnot lab 2
and if you can also do lab 3 using c++ as well with clear coding. thank you image text in transcribed
image text in transcribed
image text in transcribed
LAB 2 - REVIEW of STRUCTS & PROCEDURES due Monday, 2/10/2020 MODIFICATIONS to Lab #1: Print EACH Student's Highest and Lowest Grade and the Associated Test Number For example, GIVEN the Student's Grades are placed in order of the Tests, that is, the results for Test 1 first. Test 2 second, etc. Then for these GRADES: 87 78 99 100 34 56 78 89 77 93 Your search should evaluate (1) Student's Highest Grade was 100 received on Test 4 and Student's Lowest Grade was 34 received on Test 5. (2) Modularize the code functionality of the Program (3) If the Student's Average was not also printed in the original, Print it now (4) All Other Output from Lab #1 should also be printed. Lab 1 you should design and implement a program that uses the structure below, (SG) and allocates an ARRAY OF 10 ELEMENTS/ STRUCTURES to contain the information. Struct SG {float arraysG[10]; string name; char LG; The Program should: (Input) Read each of the Students' Names into the Structure front a FILE, i.e., Name and 10 grades for each Student, THEN, calculates the average grades from which a LETTER GRADE is determined and stores that grade in LG. If the Student has less than 10 grades, then the Student should get a "W" grade. (Output) Each Student's Name, the 10 grades, and the given Letter Grade neatly formatted in a tabular form. LAB # 3 - MODIFICATIONS to LAB #2 Create a CLASS that has all the functionality of the PREVIOUS LAB. Le., USE YOUR USER-DEFINED FUNCTIONS as the FUNCTION MEMBERS OF YOUR CLASS. WRITE A PROGRAM THAT USES ALL THE FUNCTIONALITY of THE CLASS and OUTPUTS the RESULTS

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

Step: 3

blur-text-image

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

Understand why customers are loyal to a particular service firm.

Answered: 1 week ago