Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, help is wanted with this C++ Program! If you help, thank you so much! a) Read the student information from a file (see the

Hi, help is wanted with this C++ Program! If you help, thank you so much!

image text in transcribedimage text in transcribed

a) Read the student information from a file (see the sample records in below] into an array of records (struct). The name of the data file provided is 260 Data.txt. The data file includes student's name, id, and gpa. The other data for each student such as birth date and 5 test scores will be generated as random numbers. The randl) function will generate the following: a. Birth day - any number between 1-30 if the month is not 2,128 if the month is 2 lassume no one is born on 31s " of any month, and on 29th of Feb). b. Birth month - any number between 1-12 c. Birth year - any number between 1993 to 2005 d. 5 test scores ranging from 40100 each. The five test scores should be stored as an array of 5 integers. The euverageseore will be calculated by (the sur of 5 test scores /5,0 ) b) Print the information of all students out as tabulate format with column heading. c) Print the oldest student's name and his/her birthday in mm/dd/lxxy format. d) Print the student's names with goa =4.0 Sample output from a smaller data set: Wells,AliayahD.04850893.98Woodson,AutumnN.04891852.37Addison-Sowemimo,AjsaM.04467041.44Artis,MylesO.04960092.75

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

Students also viewed these Databases questions