the value of the exponent n1
Chat with our AI personalities
the value of the exponent n1
Replace each variable in the expression by its value and then find the value of the expression.
#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; }
Take the value of each variable in the expression and replace the variable by its value. Then do the math!
The answer will depend on the expression - which is not given!