Question
There are 20 integer values stored in an array. Write a programme to find larges and smallest value store.
Answer :
Word Count : 208
________ ___ ________ __________ ______ ________.
_______ ________ ___ _____ _________ _______ __________ ___ _______.
______ ____ ___ _____ __________ _________ ______ ______.
_________ ______ ________ _____ ___ _________ ___ _________ ____ ____ _____.
_______ ____ _________ ______ _____ __________ __________ _______.
___ ___ ___ ______ _________.
______ __________ _______ _________ _________ ________ _____ ___ __________ ________.
___ ________ __________ ______ _________ ___ ____ _____ __________ __________ _________.
_____ ________ ______ ____ ____.
__________ __________ _________ _____ ___ __________ _____ _____ _______ _________ ____ _________.
_____ ____ _______ __________ ___ _____.
____ _______ ________ ______ ____ ____ ______.
_____ ___ _____ ___ _____ _________ __________.
______ ___ ________ ________ _______ __________ ____ _______ _____ ____ ______.
________ ________ ________ ______ __________ _______ ____ ________ _____ ___ ________.
___ ___ ______ ________ _____ _______.
Skip in 10
You can write a program in a programming language like Python to find the largest and smallest values stored in an array. Here's a simple example of how to do this:
```python
# Initialize an array with 20 integer values
array = [10, 5, 23, 14, 56, 3, 8, 42, 19, 27, 71, 33, 62, 9, 1, 37, 2, 6, 48, 12]
# Initialize variables to store the largest and smallest values
_______ ________ ___ _____ _________ _______ __________ ___ _______.
______ ____ ___ _____ __________ _________ ______ ______.
_________ ______ ________ _____ ___ _________ ___ _________ ____ ____ _____.
_______ ____ _________ ______ _____ __________ __________ _______.
___ ___ ___ ______ _________.
______ __________ _______ _________ _________ ________ _____ ___ __________ ________.
___ ________ __________ ______ _________ ___ ____ _____ __________ __________ _________.
_____ ________ ______ ____ ____.
__________ __________ _________ _____ ___ __________ _____ _____ _______ _________ ____ _________.
_____ ____ _______ __________ ___ _____.
____ _______ ________ ______ ____ ____ ______.
_____ ___ _____ ___ _____ _________ __________.
______ ___ ________ ________ _______ __________ ____ _______ _____ ____ ______.
________ ________ ________ ______ __________ _______ ____ ________ _____ ___ ________.
___ ___ ______ ________ _____ _______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.