Computer Science, asked by neesan193, 1 day ago

Write a python program to read a floating point number and an integer. If the value of the floating point number is greater than 4.14, then add 10 to the integer.​

Answers

Answered by ujjwal99355
0

Answer:

num=float(input('Input any float value:'))

if num>4.14:

   num=num+10

   print('New value is:  ',num)

else:

   print('The number is less than 4.14...')

Output:

Attachments:
Similar questions