AL ICT Quizzes

Gnosis

Member
Apr 26, 2012
68
1
0
Fill in the blanks


.............."temprature converter"
print""
far=float(......("Enter farenheit value "))
cent=(far-32)*5/9
print"Centigrade value is ".......

to get following


temprature converter

Enter farenheit value xxx
Centigrade value is xxx
 

Gnosis

Member
Apr 26, 2012
68
1
0
Try

what is the output??

num1=float(input("number 1 "))
num2=float(input("number 2 "))
tot=num1+num2
dif=num1-num2
div=num1/num2
mul=num1*num2
print"total = ",tot
print"diference = ",dif
print"division = ",div
print"multiplication = ",mul
 
  • Like
Reactions: sameerasadaru