void math(int*, int*, int*, int*) void main() { int a, b, c, d; puts("ENTER VALUES TO A & B"); math(&a,&b,&c,&d); printf("sum= %d \n diff= %d", c,d); getch(); } void math( int*a, int*b, int*c, int*d) { *c= *a+*b; *d= *a-*b; }
Two intervals (a, b) and (c, d) are said to be equal if b - a = d - c.
Two ratios a:b and c:d are equivalent when a*d = b*c. (Usually you can say when a/b=c/d except when b or d is 0.)
The answer is 4! (4 factorial), the same as 4x3x2x1, which equals 24 combinations. The answer is 24 and this is how: A b c d A b d c A c d b A c b d A d c b A d b c B c d a B c a d B d a c B d c a B a c d B a d c C d a b C d b a C a b d C a d b C b d a C b a d D a b c D a c b D b c a D b a c D c a b D c b a
#include<stdio.h> int main() { int a,b,c,d; for(a=1; a<5; a++) { for(b=1; b<5; b++) { for(c=1; c<5; c++) { for(d=1; d<5; d++) { if(!(a==b a==c a==d b==c b==d c==d)) printf("dd\n",a,b,c,d); } } } } return 0; }
void math(int*, int*, int*, int*) void main() { int a, b, c, d; puts("ENTER VALUES TO A & B"); math(&a,&b,&c,&d); printf("sum= %d \n diff= %d", c,d); getch(); } void math( int*a, int*b, int*c, int*d) { *c= *a+*b; *d= *a-*b; }
Two intervals (a, b) and (c, d) are said to be equal if b - a = d - c.
Theme from Bedrich Smetana's "The Moldau".
A b d c
Two ratios a:b and c:d are equivalent when a*d = b*c. (Usually you can say when a/b=c/d except when b or d is 0.)
Suggested layouts . . . Just play ! ( Not sure if images will show . . . If not, here they are written out . . . Layout 01 - A, B, C, D, C, B, A D, C, A, B, A, C, D A, B, C, D, C, B, A D, C, A, B, A, C, D A, B, C, D, C, B, A D, C, A, B, A, C, D A, B, C, D, C, B, A D, C, A, B, A, C, D A, B, C, D, C, B, A Layout 02 - C, D, B, A, B, D, C D, B, A, D, A, B, D B, A, D, C, D, A, B A, D, C, B, C, D, A D, C, B, A, B, C, D A, D, C, B, C, D, A B, A, D, C, D, A, B D, B, A, D, A, B, D C, D, B, A, B, D, C Layout 03 - D, B, C, B, C, B, D A, D, B, C, B, D, A D, A, D, B, D, A, D C, D, A, D, A, D, C B, C, D, A, D, C, B C, D, A, D, A, D, C D, A, D, B, D, A, D A, D, B, C, B, D, A D, B, C, B, C, B, D Layout 04 - A, B, C, D, C, B, A B, A, B, C, B, A, B D, B, A, B, A, B, D C, D, B, A, B, D, C A, C, D, B, D, C, A C, D, B, A, B, D, C D, B, A, B, A, B, D B, A, B, C, B, A, B A, B, C, D, C, B, A
A=75 and above B=75 to 65 C=65 to 50 D= ? ? ? ? ?
B b b d d b d d d c b a a a a d d b d d d c b a c b a g d b b b c b a g e g d b b b d d b d d d c b a c b a g e g b d d d d d c b d d d d d e b a c d c b d d d c b a c g c b c d d d d d c b c d d d d d e b a c d c b d d d c b a c g c b b c b b b b d d b d d d c b a a a d d b d d d c b a c b a g d d b b b c b a g e g b =)
The answer is 4! (4 factorial), the same as 4x3x2x1, which equals 24 combinations. The answer is 24 and this is how: A b c d A b d c A c d b A c b d A d c b A d b c B c d a B c a d B d a c B d c a B a c d B a d c C d a b C d b a C a b d C a d b C b d a C b a d D a b c D a c b D b c a D b a c D c a b D c b a
b d d b b c b b a b a c c d d b c b a d c a b c d a b c c a a d b d d b a a d b c a c d d c b b a
Nims 100 exam answers D C A B B D A C C D D A A B B C A B C D A B A Nims 200 exam answers B D B C B A D D B D C D A A B D C A B B C D A Nims 700 exam answers D A B D C D B A D B C C B B B A D B C C  Nims 800 exam answers A A C D B C C D B C A D B C D B D A C B
b d d b b c b b a b a c c d d b c b a d c a b c d a b c c a a d b d d b a a d b c a c d d c b b a