6. Create an integer array of size 10. Fill the array by taking input from the user. Then, check whether the array is sorted or not. If sorted, then, how it is sorted (ascending or descending). If it is not sorted, print that it is not sorted. 7. Find the 1st maximum, 2nd maximum, 1st minimum, 2nd minimum and the median value from a floating-point array of size 11.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question
need the full solves correctly and asap plz
6. Create an integer array of size 10. Fill the array by taking input from the user. Then,
check whether the array is sorted or not. If sorted, then, how it is sorted (ascending or
descending). If it is not sorted, print that it is not sorted.
7. Find the 1st maximum, 2nd maximum, 1st minimum, 2nd minimum and the median value
from a floating-point array of size 11.
Transcribed Image Text:6. Create an integer array of size 10. Fill the array by taking input from the user. Then, check whether the array is sorted or not. If sorted, then, how it is sorted (ascending or descending). If it is not sorted, print that it is not sorted. 7. Find the 1st maximum, 2nd maximum, 1st minimum, 2nd minimum and the median value from a floating-point array of size 11.
Expert Solution
steps

Step by step

Solved in 6 steps with 6 images

Blurred answer
Knowledge Booster
Fundamentals of Multithreaded Algorithms
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT