answersLogoWhite

0

AllQ&AStudy Guides
Best answer

n1= 25

n2= n1+1

n3= n1-1

n4=n1+2

n5=n1-2

This answer is:
Related answers

n1= 25

n2= n1+1

n3= n1-1

n4=n1+2

n5=n1-2

View page

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

}

View page

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

View page

The N1 is a rocket.

View page

#include<stdio.h>

int main(){

int n1,n2;

printf("\nEnter two numbers:");

scanf("%d %d",&n1,&n2);

while(n1!=n2){

if(n1>=n2-1)

n1=n1-n2;

else

n2=n2-n1;

}

printf("\nGCD=%d",n1);

return 0;

}

View page
Featured study guide

How long does sensory memory last

The most powerful Pokemon ever

What are the large slow brain waves associated with sleep called

Which emotion acknowledges the role of the limbic system

➡️
See all cards
No Reviews
More study guides
No Reviews

4.42
78 Reviews
Search results