SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
Question 2 (35 points) Write a main function that uses the Student class done in the previous
question. Assume that you have implemented the Student class correctly with all functions given.
Also, assume that you have setters and getters for id, name, and grades member variable. In the
main function, do the following: a. Define two Student objects s1 and s2 where s1 uses the
default constructor and s 2 uses the initializer constructor. Initialize s2 with 1000 for the id and
"Salem" for the name. (7 points) b. Define an array of integers of size 20 , read 20 grades from
user input, and assign the read grades to student $2. (7 points) c. Define an array of 100 student
objects and call it PSUTStudents. Read the ids, names, and grades of each student from user
input. (7 points) d. Print the names of the students who have their GPAs above the average of the
100 students. (7 points) e. Print the name of the student who scored the highest in call courses
(Course by Course comparison). Note that this student might not be the one of highest GPA. (7
points)

Más contenido relacionado

Similar a Student Class Main Function Tests Grades & GPA

Oracle 1Z0-899 Exam Question Answers Discount
Oracle 1Z0-899 Exam Question Answers DiscountOracle 1Z0-899 Exam Question Answers Discount
Oracle 1Z0-899 Exam Question Answers DiscountRossStowers
 
Introduction to database-Formal Query language and Relational calculus
Introduction to database-Formal Query language and Relational calculusIntroduction to database-Formal Query language and Relational calculus
Introduction to database-Formal Query language and Relational calculusAjit Nayak
 
Query optimization in SQL
Query optimization in SQLQuery optimization in SQL
Query optimization in SQLAbdul Rehman
 
Cis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee classCis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee classsdjdskjd9097
 
Java Foundations: Objects and Classes
Java Foundations: Objects and ClassesJava Foundations: Objects and Classes
Java Foundations: Objects and ClassesSvetlin Nakov
 
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docxgilbertkpeters11344
 
Write your standard C++ codes to do the following (for class both inte.pdf
Write your standard C++ codes to do the following (for class both inte.pdfWrite your standard C++ codes to do the following (for class both inte.pdf
Write your standard C++ codes to do the following (for class both inte.pdfAARVEEKNITWEAR
 
Cis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee classCis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee classsdjdskjd9097
 

Similar a Student Class Main Function Tests Grades & GPA (14)

Methods in Java
Methods in JavaMethods in Java
Methods in Java
 
Unit 2 notes.pdf
Unit 2 notes.pdfUnit 2 notes.pdf
Unit 2 notes.pdf
 
Dbms record
Dbms recordDbms record
Dbms record
 
Oracle 1Z0-899 Exam Question Answers Discount
Oracle 1Z0-899 Exam Question Answers DiscountOracle 1Z0-899 Exam Question Answers Discount
Oracle 1Z0-899 Exam Question Answers Discount
 
Introduction to database-Formal Query language and Relational calculus
Introduction to database-Formal Query language and Relational calculusIntroduction to database-Formal Query language and Relational calculus
Introduction to database-Formal Query language and Relational calculus
 
LAB 2 Report.docx
LAB 2 Report.docxLAB 2 Report.docx
LAB 2 Report.docx
 
Query optimization in SQL
Query optimization in SQLQuery optimization in SQL
Query optimization in SQL
 
Cis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee classCis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee class
 
CPP Homework Help
CPP Homework HelpCPP Homework Help
CPP Homework Help
 
Java Foundations: Objects and Classes
Java Foundations: Objects and ClassesJava Foundations: Objects and Classes
Java Foundations: Objects and Classes
 
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
33.docxSTEP 1 Understand the UML Diagram Analyze and under.docx
 
Write your standard C++ codes to do the following (for class both inte.pdf
Write your standard C++ codes to do the following (for class both inte.pdfWrite your standard C++ codes to do the following (for class both inte.pdf
Write your standard C++ codes to do the following (for class both inte.pdf
 
Classes and objects
Classes and objectsClasses and objects
Classes and objects
 
Cis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee classCis247 i lab 2 of 7 employee class
Cis247 i lab 2 of 7 employee class
 

Más de ahuja124

Required information NOTE This is a multi-part question. Once an ans.pdf
 Required information NOTE This is a multi-part question. Once an ans.pdf Required information NOTE This is a multi-part question. Once an ans.pdf
Required information NOTE This is a multi-part question. Once an ans.pdfahuja124
 
Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf
 Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf
Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdfahuja124
 
Reliability refers to consistency or repeatability of measures in r.pdf
 Reliability refers to consistency or repeatability of measures in r.pdf Reliability refers to consistency or repeatability of measures in r.pdf
Reliability refers to consistency or repeatability of measures in r.pdfahuja124
 
ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf
 ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf
ReferenceFirst Clarss Mands Company has journaked the adjusting.pdfahuja124
 
Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf
 Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf
Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdfahuja124
 
Refer to the diagram in which T is tax revenues and G is government e.pdf
 Refer to the diagram in which T is tax revenues and G is government e.pdf Refer to the diagram in which T is tax revenues and G is government e.pdf
Refer to the diagram in which T is tax revenues and G is government e.pdfahuja124
 
Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf
 Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf
Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdfahuja124
 
Real-Time Data Analysis Exercise Measures and Components of Money in.pdf
 Real-Time Data Analysis Exercise Measures and Components of Money in.pdf Real-Time Data Analysis Exercise Measures and Components of Money in.pdf
Real-Time Data Analysis Exercise Measures and Components of Money in.pdfahuja124
 
Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf
 Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf
Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdfahuja124
 
Raphael and Martina are engaged and are planning to travel to Las Veg.pdf
 Raphael and Martina are engaged and are planning to travel to Las Veg.pdf Raphael and Martina are engaged and are planning to travel to Las Veg.pdf
Raphael and Martina are engaged and are planning to travel to Las Veg.pdfahuja124
 
ransgression Regression Stratigraphic Column List possible EOD On t.pdf
 ransgression  Regression Stratigraphic Column List possible EOD On t.pdf ransgression  Regression Stratigraphic Column List possible EOD On t.pdf
ransgression Regression Stratigraphic Column List possible EOD On t.pdfahuja124
 
Questions 1. Be able to identify the different types of interactions.pdf
 Questions 1. Be able to identify the different types of interactions.pdf Questions 1. Be able to identify the different types of interactions.pdf
Questions 1. Be able to identify the different types of interactions.pdfahuja124
 
Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf
 Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf
Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdfahuja124
 
R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf
 R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf
R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdfahuja124
 
Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf
 Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf
Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdfahuja124
 
QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf
 QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf
QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdfahuja124
 
Question 4 A recent study focused on the number of times men and .pdf
 Question 4 A recent study focused on the number of times men and .pdf Question 4 A recent study focused on the number of times men and .pdf
Question 4 A recent study focused on the number of times men and .pdfahuja124
 
Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf
 Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf
Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdfahuja124
 
Question 4 4. Which of the following best defines the resource curse.pdf
 Question 4 4. Which of the following best defines the resource curse.pdf Question 4 4. Which of the following best defines the resource curse.pdf
Question 4 4. Which of the following best defines the resource curse.pdfahuja124
 
Question 12- Which of the following might suggest that a nurse.pdf
 Question 12- Which of the following might suggest that a nurse.pdf Question 12- Which of the following might suggest that a nurse.pdf
Question 12- Which of the following might suggest that a nurse.pdfahuja124
 

Más de ahuja124 (20)

Required information NOTE This is a multi-part question. Once an ans.pdf
 Required information NOTE This is a multi-part question. Once an ans.pdf Required information NOTE This is a multi-part question. Once an ans.pdf
Required information NOTE This is a multi-part question. Once an ans.pdf
 
Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf
 Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf
Regression Variables EnteredRemoved 2 a. Dependent Variable Risk b..pdf
 
Reliability refers to consistency or repeatability of measures in r.pdf
 Reliability refers to consistency or repeatability of measures in r.pdf Reliability refers to consistency or repeatability of measures in r.pdf
Reliability refers to consistency or repeatability of measures in r.pdf
 
ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf
 ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf
ReferenceFirst Clarss Mands Company has journaked the adjusting.pdf
 
Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf
 Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf
Refer to the graph. A shift from AS1 to AS2 would be consistent with .pdf
 
Refer to the diagram in which T is tax revenues and G is government e.pdf
 Refer to the diagram in which T is tax revenues and G is government e.pdf Refer to the diagram in which T is tax revenues and G is government e.pdf
Refer to the diagram in which T is tax revenues and G is government e.pdf
 
Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf
 Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf
Recently Damar Hamlin had a cardiac arrest while playing football. Th.pdf
 
Real-Time Data Analysis Exercise Measures and Components of Money in.pdf
 Real-Time Data Analysis Exercise Measures and Components of Money in.pdf Real-Time Data Analysis Exercise Measures and Components of Money in.pdf
Real-Time Data Analysis Exercise Measures and Components of Money in.pdf
 
Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf
 Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf
Rasei Compeiy has provided the foliewng comparative irfarmation You k.pdf
 
Raphael and Martina are engaged and are planning to travel to Las Veg.pdf
 Raphael and Martina are engaged and are planning to travel to Las Veg.pdf Raphael and Martina are engaged and are planning to travel to Las Veg.pdf
Raphael and Martina are engaged and are planning to travel to Las Veg.pdf
 
ransgression Regression Stratigraphic Column List possible EOD On t.pdf
 ransgression  Regression Stratigraphic Column List possible EOD On t.pdf ransgression  Regression Stratigraphic Column List possible EOD On t.pdf
ransgression Regression Stratigraphic Column List possible EOD On t.pdf
 
Questions 1. Be able to identify the different types of interactions.pdf
 Questions 1. Be able to identify the different types of interactions.pdf Questions 1. Be able to identify the different types of interactions.pdf
Questions 1. Be able to identify the different types of interactions.pdf
 
Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf
 Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf
Question1) (20 points) Given n data samples {xi,yi}i=1,�,n. We usual.pdf
 
R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf
 R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf
R. Allen Inc. R. Allen Inc. Income Statement Comparative Balance Shee.pdf
 
Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf
 Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf
Question 7 (2 points) Refer to the below figure. There is a $75 milli.pdf
 
QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf
 QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf
QUESTION 4 Part A Introduction In chromatography, solutes will follo.pdf
 
Question 4 A recent study focused on the number of times men and .pdf
 Question 4 A recent study focused on the number of times men and .pdf Question 4 A recent study focused on the number of times men and .pdf
Question 4 A recent study focused on the number of times men and .pdf
 
Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf
 Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf
Question 4 ( 20 marks ) By relating it with the scenario in Malaysi.pdf
 
Question 4 4. Which of the following best defines the resource curse.pdf
 Question 4 4. Which of the following best defines the resource curse.pdf Question 4 4. Which of the following best defines the resource curse.pdf
Question 4 4. Which of the following best defines the resource curse.pdf
 
Question 12- Which of the following might suggest that a nurse.pdf
 Question 12- Which of the following might suggest that a nurse.pdf Question 12- Which of the following might suggest that a nurse.pdf
Question 12- Which of the following might suggest that a nurse.pdf
 

Último

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Último (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

Student Class Main Function Tests Grades & GPA

  • 1. Question 2 (35 points) Write a main function that uses the Student class done in the previous question. Assume that you have implemented the Student class correctly with all functions given. Also, assume that you have setters and getters for id, name, and grades member variable. In the main function, do the following: a. Define two Student objects s1 and s2 where s1 uses the default constructor and s 2 uses the initializer constructor. Initialize s2 with 1000 for the id and "Salem" for the name. (7 points) b. Define an array of integers of size 20 , read 20 grades from user input, and assign the read grades to student $2. (7 points) c. Define an array of 100 student objects and call it PSUTStudents. Read the ids, names, and grades of each student from user input. (7 points) d. Print the names of the students who have their GPAs above the average of the 100 students. (7 points) e. Print the name of the student who scored the highest in call courses (Course by Course comparison). Note that this student might not be the one of highest GPA. (7 points)