Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Homework HelpRSS Feeds

Program to multiply two numbers

Posted By: Max Evans     Category: C Programming     Views: 8135

Write a program to multiply two numbers.

Code for Program to multiply two numbers in C Programming

#include<stdio.h>
#include<conio.h>

void main()
{
    int a,b,c;

    a=5;
    b=10;
    c=mul(a,b);
    printf("Multiplication of %d and %d is %d",a,b,c);
}
mul(x,y)
int p,x,y;
{
    p=x*y;
    return(p);
}
  
Share: 


Didn't find what you were looking for? Find more on Program to multiply two numbers Or get search suggestion and latest updates.

Max Evans
Max Evans author of Program to multiply two numbers is from London, United Kingdom.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
Mayuri Jha from United States Comment on: Nov 09
hey!!! i wanna a program to make an arithmetic calculator can someone help me plz.....

View All Comments