Create two array variables one to store student ids and


Question 1:

Write a program to process student marks scored in this subject. Create two array variables one to store student ids and another one to store marks scored by students. For simplicity, you can keep ids as numbers only so declare it as integer and marks as a double array. Then create a menu with switch statement as below to perform selected operations.
1. Enter data in array.
2. Display array content.
3. Display statistics like highest marks scored, lowest marks scored and average marks scored.
4. Sort array content.
5. Exit from application.

Question 2: Write a program to enter any string and do following:
- Determine size of string.
- Display string in lowercase.
- Display string in uppercase.
- Display substring from positon 4 with length 5.
- Display string by trimming unnecessary spaces.
- Take another string as input and concatenate first and second string into a third string.

Solution Preview :

Prepared by a verified Expert
Visual Basic Programming: Create two array variables one to store student ids and
Reference No:- TGS02496956

Now Priced at $30 (50% Discount)

Recommended (94%)

Rated (4.6/5)