WAP input any no in an array and find a particular number from the list.
Answers
Answered by
1
Answer:
Enter size of an Array :5
Enter elements of Array 1:
Enter 1 element :12
Enter 2 element :23
Enter 3 element :34
Enter 4 element :45
Enter 5 element :56
Enter an item to find :45
45 find @ 3 position.
second run
Enter size of an Array :5
Enter elements of Array 1:
Enter 1 element :12
Enter 2 element :23
Enter 3 element :34
Enter 4 element :45
Enter 5 element :56
Enter an item to find :10
10 does not exists in array.
Similar questions