Problem Description
Jeyanthi daughter name is Harini, she was studying 1st Standard in a school. Harinis home work for the third day is to Multiplication of two numbers, help Harini to solve the problem.Test Case 1
Input (stdin)12 10
Expected Outputmultiplication of the two numbers is 120.00
Test Case 2
Input (stdin)12 3
Expected Outputmultiplication of the two numbers is 36.00
Program
#include <stdio.h> int main() { float a,b,c; scanf("%f%f",&a,&b); c=a*b; printf("multiplication of the two numbers is %.2f ",c); return 0; }
No comments:
Post a Comment
Note: only a member of this blog may post a comment.