Single Dimensional Array – Assignment-1

 Q1.Write C++ statements to do the following:  Declare and initialize an array of scores of 20 student of type int.  Display the 10th component of the array scores.  Display the 5th component of the array scores  Set the value of the 8th component of the array scores to 35. Set the value of the 6th […]

String in CPP Assignment-1

Write C++ statements to do the following: Q1 Declare and initialize an array of scores of 20 batsmen of type int. Display the 10th component of the array scores. Display the 5th component of the array scores. Set the value of the 8th component of the array scores to 35. Set the value of the […]