Computer Science, asked by basit6894, 9 months ago

Write a program to accept 15 integers from the keyboard, assuming that no integer entered is a zero. Perform selection sort on the integers and then print them in ascending order.

Answers

Answered by GamerAzim
5

Answer:

assuming the language to be python 3 or above

Explanation:

lst = [None]

c=0

while c<15:

  a=int(input("enter a number:"))

  c=c+1

  lst.append(a)

lst.sort()

Similar questions