Horje
multiplicationin c Code Example
multiplicationin c
/*Program for multiplying two numbers*/
#include <stdio.h>
int main(){
	int a, b, Product; //declare the variables that will be used, a will store the first number, b second number and Product, product.
    printf("Enter the first number: \n"); //Prompts user to enter the first number.
    scanf("%d", &a);//Accepts input and saves it to variable a
    printf("Enter the second number: \n");
    scanf("%d", &b);
    sum = a * b; //Formular to multiply the two numbers.
    printf("Product is %d\n", product);
}




C

Related
thread in c Code Example thread in c Code Example
search array element in c Code Example search array element in c Code Example
what is covert channel Code Example what is covert channel Code Example
how to sleep in c Code Example how to sleep in c Code Example
golang loop through array Code Example golang loop through array Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8