If 2 + 3 equals 10 then what does 9 + 7 equals?
Here is another little brain teaser
2 + 3 = 10
7 + 2 = 63
6 + 5 = 66
8 + 4 = 96
9 + 7 = ?
The answer can be found in the first comment.
Here is another little brain teaser
2 + 3 = 10
7 + 2 = 63
6 + 5 = 66
8 + 4 = 96
9 + 7 = ?
The answer can be found in the first comment.
Here is another great question for when you a doing a job interview.
Question: For the integers between 0 and 100 (i.e. 1,2,3,4 etc.) – How many have the digit 7 in them?
Can you figure it out?
The answer can be found in the first comment.
At some job interviews you will be asked to explain a small piece of code, so I thought it could be fun to post some on my blog. If anyone has other examples, please let me know.
Question
How many times will Console.Write() be called ?
1 2 3 4 | for (byte i = byte.MinValue; i <= byte.MaxValue; i++) { Console.Write(i); } |
A little tip
Information about Byte Structure