Q: What is the value of the expression n1?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

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!

Related questions

the value of the exponent n1

the value of the exponent n1

In gw-basic, when program control is transferred depending on a certain condition, it is called conditional transfer of control. To transfer control from one point to multiple points is called multiple branching. Statement used in gw-basic for this purpose is ON.....GOTO. Syntax: ON numeric variable or expression GOTO n1, n2, n3,....... The range o value of numeric variable or expression is 0 t0 255. n1, n2 are valid line numbers where control will be transferred. If the value of numeric variable or expression is 1, the control will be transferred to line number n1, in case of 2 to n2 and so on.

36.5 is not an exponential expression! Its value is 36.536.5 is not an exponential expression! Its value is 36.536.5 is not an exponential expression! Its value is 36.536.5 is not an exponential expression! Its value is 36.5

The N1 is a rocket.

Replace each variable in the expression by its value and then find the value of the expression.

n1= 25 n2= n1+1 n3= n1-1 n4=n1+2 n5=n1-2

to find the value of an expression, you need to

#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; }

An equivalent expression.

P(x=n1,y=n2) = (n!/n1!*n2!*(n-n1-n2)) * p1^n1*p2^n2*(1-p1-p2) where n1,n2=0,1,2,....n n1+n2<=n

You evaluate the expression !! :)