Shree Swaminarayan College of Computer Scienc e
BCA-CC-404, Subject Code: 22699, Subject Name: Application Development Using VB.NET
ASSIGNMENT – 4
1. Write a program to enter 10 element and print it using for each next loop.
2. Write a program to enter 10 integer numbers in 1D array and print the sum of it.
3. Write a program to enter 10 integer numbers in 1D array and print the average of it.
4. Write a program to enter 5 element and sort an integer array in ascending order.
5. Write a program to enter 10 integer numbers in 1D array, enter number to search whether no
in array or not. Print message if number found in array otherwise not found.
6. Write a program to enter your name in an array and print the ASCII value of each
character(Use Asc() Function)
7. Write a program to enter 10 integer numbers in 1D array and find the minimum and
maximum number.
8. Write a program to enter n integer number in 1D array and find odd and even number.
9. Write a program to enter 10 digit numeric value in 1D array and result should be display
another array without repeating value
e.g. Input [Arr-1 : 1 1 2 2 3 4 4 6 5 7 8]
Output : 1 2 3 4 5 6 7 8
10. Write a program to enter 10 digit number in 1D array and print swap of them.
e.g. Input [Arr-1 : 1 2 3 4 5 6 7 8 9 10]
Output : 2 1 4 3 6 5 8 7 10 9
PREPARED BY: NIRAV K. SHAH Page 1 of 1