pls ans
I will mark u as brainliest
Attachments:
Answers
Answered by
1
Answer:
num1=int(input("Enter the first number: "))
num2=int(input("Enter the second number: "))
num3=int(input("Enter the third number: "))
if(num1<=num2):
if(num1<=num3):
Smallest=num1
else:
Smallest=num3
else:
if (num2<=num3):
Smallest=num2
else:
Smallest=num3
#display the smallest number
print("Smallest number is", Smallest)
Answered by
1
Answer:
It's in java
class ab
{ void main (int a, int b,int c)
{if (a<b&&a<c)
{System.Out.Println (a) ;}
if (b<a&&b<c)
{System.Out.Println (b) ;}
if (c<b&&c<a)
{System.Out.Println (c) ;}
}}
Mark in brainleist answer and like please
Similar questions
English,
2 months ago
English,
2 months ago
Hindi,
4 months ago
Chemistry,
11 months ago
Political Science,
11 months ago
Social Sciences,
11 months ago