Computer Science, asked by yashchandra2009, 6 months ago

Write a program to input 3 numbers and check wether they are equal or not.​

Answers

Answered by gaganadithyareddy9
0

Answer:

# This works only in Python....

lst = [ ]

for i in range(3):

   x = int(input("Enter a number: "))

   lst.append(x)

if lst[0] == lst[1] == lst[2]:

   print("The three numbers are equal!")

else:

   print("The three numbers are not equal!")

# HOPE THIS HELPS YOU!!

Similar questions