Q#2. Dynamic Memory Allocation Create a dynamic Array of size 'n' (number of students). Get 'n' numbers as input from th
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Q#2. Dynamic Memory Allocation Create a dynamic Array of size 'n' (number of students). Get 'n' numbers as input from th
Q#2. Dynamic Memory Allocation Create a dynamic Array of size 'n' (number of students). Get 'n' numbers as input from the user. Create a dynamic array of size 'n'. Input all students' grades. Find the Highest and Lowest grade. Make sure to delete the dynamic array at the end of the program. Sample Run Enter no of Student :5 The Grades 41 18 52 97 62 Highest: 97 Lowest : 18
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!