Chat with our AI personalities
#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; }
a + c - b = 3 + 2 - 5 = 5 - 5 = 0
If a = -15, b = 5 and c = -2 a - b - c = -15 - 5 - (-2) = -20 + 2 = -18
If any number B is subtracted from a number A to give C, then C+B =A If A - B = C then B+C = A Eg 7 - 2 = 5 Hence 2 + 5 = 7
b divided by 2