due in 40 min

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

due in 40 min

Post by answerhappygod »

due in 40 min
Due In 40 Min 1
Due In 40 Min 1 (76.29 KiB) Viewed 27 times
A- [10 points] Declare a self-referential structure StudentNode for a linked list having one data a field called GPA (float), and one pointer to StudentNode called next. B - (20 points) Write a non-recursive function that counts all the GPAs that are less than or equal to 2 in your linked list starting from the head of the list. Example: If the list is 1.9->2->3.5->4->1.8, the function should return 3. C- [20 points) Write a recursive function that prints all the GPAs that are higher or equal to 3.5 in your linked list starting from the head of the list. Example: If the list is 1.9->2->3.5->4->1.8, the function should print: 3.5->4.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply