void main() { int a,b, result; clrscr(); printf("\n\n\t\tenter any two nos.."); scanf("d",&a,&b); if(a==0b==0) printf("multiplication of %d and %d is zero",a,b); else { result=a*b; printf("multiplication of %d and %d is %d",a,b,result); } getch(); }
substracion of any two number program in c
it can be used to write a multiplication sentence by flipping the numbers around
Step 1. Learn the word "Fibonacci"...
1,4,9,25,36
write an assembly language program to find sum of N numbers
The native C language will not permit the addition of two 100 digit numbers with native data types. Therefore, you need to simulate the 100 digit numbers differently, and that can be done various ways, including using an arbitrary precision math package, or BCD arithmetic, etc.
If the "x" is a multiplication sign, you can simply write the numbers first, and omit the multiplication sign: 21ac.
#include(stdio.h) int main ()
multiplicand_________multiplier / multiplicand x multiplier=product_______product______
As a product of its prime factors: 3*5 = 15
To write a composite number as a product of two prime numbers, write it as an answered multiplication question like 2 x 17 = 34 or 3 x 3 x 7 = 63.
The associative power of multiplication states that for any three numbers a, b and c, (a * b) * c = a * (b * c) and so we can write either as a * b * c without ambiguity.