Computer Science, asked by adityasisodiya56412, 1 month ago

pls ans
I will mark u as brainliest​

Attachments:

Answers

Answered by lakshmi24diya
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 EMOINE
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