Chat with our AI personalities
#include<stdio.h> int main(){ int n1,n2; printf("\nEnter two numbers:"); scanf("%d %d",&n1,&n2); while(n1!=n2){ if(n1>=n2) n1=n1-n2; else n2=n2-n1; } printf("\nGCD=%d",n1); return 0; }
the value of the exponent n1
The sum of the first 10 positive integers, using the formula N1 + (N1 + 1) + ... + N2 = N2 * (N2 + 1) / 2 - (N1 - 1) * N1 / 2 is: 55
You subtract the exponents. N30 - N1 = N30 - 1 = N29.You subtract the exponents. N30 - N1 = N30 - 1 = N29.You subtract the exponents. N30 - N1 = N30 - 1 = N29.You subtract the exponents. N30 - N1 = N30 - 1 = N29.
Let n be any number and n/n = 1 and n1/n1 = n1-1 which is n0 that must equal 1