Answered step by step
Verified Expert Solution
Question
1 Approved Answer
} #include #include int main() { } printf(Please find the maximum and minimum values ); int input_data[] = {23, 65, 12, 43, 24, 76, 45,7,90,56);
} #include #include int main() { } printf("Please find the maximum and minimum values\ "); int input_data[] = {23, 65, 12, 43, 24, 76, 45,7,90,56); printf("%d\ ", input_data[9]); int max_no, min_no, j-5, k=6; max_no-input_data [0]; min_no-input_data[0]; for (int i=1;i<10; i++) { if(i==j) {printf("%d\ ", min_no); } if (max_noinput_data[i]) {min_no=input_data[i]; } if(i==k) {printf("%d\ ", max_no); } printf("%d\ ", max_no); return 0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started