This is a simple Python program to find the product of two floating point numbers. When the above code is compiled and executed, it produces the following results Enter first number: 3.43 Print("the product of given numbers is:",mul) Num2=float(input("Enter second number: ")) multiply two floating point numbers num1=float(input("Enter first number: ")) Then, we can find the product of given numbers using the * operator in Pythonįinally, we could display the result on the screen using the print() function in Python language. In the above program, we declared two different integer values such as 12 and 32 stored in variables num1, num2, respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |