-CLO3- Question No 1: (Array of primitive values) Initialize an array of double values of size 10, with user input. Then calculate and display the sum and average of these values. Question No 2:...


-CLO3-<br>Question No 1: (Array of primitive values)<br>Initialize an array of double values of size 10, with user input. Then calculate and display the sum and<br>average of these values.<br>Question No 2: (Array of objects)<br>Create a class Student having rollno and name as private instance variables.<br>write a program that creates studentArray of five students; it then initializes all students rollno and<br>name by using an input function that will initialize and return an array of five students. and display<br>function that displays the values of all students the array which is passed to it.<br>

Extracted text: -CLO3- Question No 1: (Array of primitive values) Initialize an array of double values of size 10, with user input. Then calculate and display the sum and average of these values. Question No 2: (Array of objects) Create a class Student having rollno and name as private instance variables. write a program that creates studentArray of five students; it then initializes all students rollno and name by using an input function that will initialize and return an array of five students. and display function that displays the values of all students the array which is passed to it.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here