22 Number of Briefcases/Bags/Boxes in Deal Or No Deal
20 Bottles (of Champagne) in a Nebuchadnezzar
The ditloid "19 N B by the RS" stands for "19 New Books by the Royal Society." Ditloids are a form of word puzzle where numbers represent words or phrases, often using initials. In this case, "N" stands for "New," "B" for "Books," and "RS" refers to the "Royal Society."
1984 title of novel by George Orwell
A Social Security Number has 9 Digits
int maxprod (int n) { return n/2; } int main (void) { int n, a, b; n= 7; /* for example */ a= maxprod (n); b= n-a; printf ("%d+%d=%d, %d*%d=%d\n", a, b, a+b, a, b, a*b); }
This ditloid is 5 = Number of Great Lakes.
#include<stdio.h> void main() { int a,b; printf("enter number 1\n"); scanf("%d",&a); printf("enter number 2\n"); scanf("%d",&b); printf("the swapped result is\n"); a=a^b; b=a^b; a=a^b; printf("%d\n",a); printf("%d\n",b); }
if (a > b && a > c) printf("%d\n", a); else if (b > c) printf("%d\n", b); else printf("%d\n", c);
void main() { //variable declaration int a; int b; printf("\n Enter the first value"); scanf("%d",&a); printf("\n Enter the second value"); scanf("%d",&b); a=a+b; b=a-b; a=a-b; printf("\n After swap the value"); printf("\n value of A=%d",a); printf("\n value of A=%d",b); getch(); }
/*WAP to display Fibonacci series*/ #include<stdio.h> #include<conio.h> void main() { int i,a=0,b=1,c; scanf("%d",&n); printf("%d\n%d",a,b); for(i=0;i<n;i++) { c=a+b; a=b; b=c; printf("\n%d",c); } getch(); }
L-I-N-D-O or B-O-N-I-T-O (masculine) L-I-N-D-A or B-O-N-I-T-A (feminine)
#include<stdio.h> main() { int a=0,b=1,n,c,i; printf("enter number"); scanf("%d",&n); printf("%d\n",a); for(i=1;i<=n;i++) { c=a+b; printf("%d\n",c); b=a; a=c; } getch(); }