Saturday, August 18, 2018

MULTIPLICATION OF NUMBERS


  • Problem Description

    Jennys home work for Third day is to find Multiplication of two numbers, help jenny to solve the problem.
  • CODING ARENA
  • #include <stdio.h>
    int main()
    {
      int a,b,c;
      scanf("%d%d",&a,&b);
      c=a*b;
      printf("The Multiplication of two number is:%d",c);
      return 0;
    }
  • Test Case 1

    Input (stdin)
    6
    
    2
    
    
    Expected Output
    The Multiplication of two number is:12
  • Test Case 2

    Input (stdin)
    -5
    
    5
    
    
    Expected Output
    The Multiplication of two number is:-25

1 comment: