Professional Documents
Culture Documents
ITC Lab 1D Array Bubble Sort
ITC Lab 1D Array Bubble Sort
Task 1:
Write a program that initializes array of 10 and ask user to enter a number to be found and also ask
number that will be replaced with; as number found in the array replace it with other number given by
user. Follow the example below as reference.
Example:
Array[10]
12 6 7 78 9 10 58 5433 14 5
0 1 2 3 4 5 6 7 8 9
Output:
12 -1 7 78 9 10 58 5433 14 5
0 1 2 3 4 5 6 7 8 9