Coding challange #6 Solution
Here goes the Challange Solution,

Explanation of the code---
1)Declare an array.
2)Assume first element to be the maximum value.
3)The variable length will store the length of the array.
4)The loop goes to each element of the array and compares it, and according to what ever the condition is it assign the maximum value to a max variable.
5)The the list of Numbers along with the maximum number is Printed.
Thanks,
Please Share with Your Coding Community.

Explanation of the code---
1)Declare an array.
2)Assume first element to be the maximum value.
3)The variable length will store the length of the array.
4)The loop goes to each element of the array and compares it, and according to what ever the condition is it assign the maximum value to a max variable.
5)The the list of Numbers along with the maximum number is Printed.
Thanks,
Please Share with Your Coding Community.
0 Comments