Question: in program C Lab Assignment 8 Task 1: -rructs This task gets the students' graduation information and print them back. lach student has: first name,

in program C Lab Assignment 8 Task 1: -rructs This task getsin program C

Lab Assignment 8 Task 1: -rructs This task gets the students' graduation information and print them back. lach student has: first name, last name, GPA, and isHonor (whether they will graduate with honor). Roquirements: - Assume there are 3 students (array of structs is not required but recommended). - Let the user scan the info; yet the user only knows their students' names and GPAs. You, as the programmer, will check and assign whether that student graduates with honor or not based on their GPAs (>=3.5 is honor ) - Make sure to check for invalid GPAs and ask for re-enter until it's valid. - Try to utilize functions and create as many as needed (for ex: scanInfo(), printInfo(), checkHonor(), checkGPAO,...) Task 2: More structure This task acts as an auction house. We'll let the user bet on x number of products and do the analysis afterwards. Assume the minimum bid is $100 (their bid must be at least the minimum). Requirements: - Try to utilize functions and create as many as needed. - Define a structure of type product. Each product contains: ID and bid amt (bid amount can take decimal points) - Ask the user for the number of products they want to bid on. - Ask them to input the values for each product (ID and bid_amt). - You must scan all the info first then print all afterwards (utilize array of structs). - Check for invalid bid amount (minBid=$100) and ask them to re-input until it's valid. - Print back all products they bid on and the amount. - Finally, we want to do a little analysis by telling the user: how much money they spent on bidding how many items they got which ID contains the most expensive item

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!