Multiplication in c language


  This programme simply multiply the two number taken from the user in c language.

       




                                     Following steps has used inside the programme


  1. Take two input from the user.
  2. Then multiply the two number and store it into other  variable.
  3. Then display that variable.


                                                 Multiplication in c language




#include<stdio.h>
#include<conio.h>
void main()
{
       clrscr();
     
        int  a,b,c;
        scanf("%d%d",&a,&b);
        c=a*b;
        printf("%d",c);
       getch();
}


Reviewed by Deepak kumar soni on October 19, 2018 Rating: 5

No comments:

Powered by Blogger.