Posts
Showing posts from September, 2018
Ex.No. #4 FINDING MAXIMUM FROM A LIST OF NUMBERS (Tamil)
- Get link
- X
- Other Apps
Ex. No. :04 FINDING MAXIMUM FROM A LIST OF NUMBERS Program: list=[] list=[2,52,6] print(" Enter the number of elements : ") n=int(input()) print(" Enter the elements : ") for i in range(0,n): a = int(input()) list.append(a) max=list[0] for i in range(len(list)): if list[i]>max: max=list[i] print(" Maximum number is : ",max) ...
Ex.No.: #4 FINDING MAXIMUM FROM A LIST OF NUMBERS (English)
- Get link
- X
- Other Apps
Ex. No. :04 FINDING MAXIMUM FROM A LIST OF NUMBERS Program: list=[] list=[2,52,6] print(" Enter the number of elements : ") n=int(input()) print(" Enter the elements : ") for i in range(0,n): a = int(input()) list.append(a) max=list[0] for i in range(len(list)): if list[i]>max: max=list[i] print(" Maximum number is : ",max) ...