Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write code in c++ this is all one question main.pp Enter your first and last name at the top in comments. Include file student.h

please write code in c++
image text in transcribed
image text in transcribed
this is all one question
main.pp Enter your first and last name at the top in comments. Include file student.h - be sure to include the path as it is in a different folder. Declare a constant integer named AP STUDENTS with a value of 2 . Declare a constant integer named NBR_STUDENTS with a value of 3. Inside the main function: Declare a Student array named students_ap with an array size of AP_STUD initialize the student names as: Mike Miller and Linda Lawson. Declare a Student array named students with an array size of NBR_STUDEN Under the code: cout "Enter scores for AP students \ "; " Write a loop to call setScores for each student in the students_ap array. Under the code: cout "Show scores for AP students \ " *; Write a loop to call showScores for each student in the students_ap array. Under the code: cout "Enter names for non-AP students ; Write a loop to call updateName for each student in the students array. Under the code: cout

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions