Question
The sum of the digits of a two-digit number is 7. If 45
is subtracted from this number, the resulting number has its digits reversed. Determine the original number.Solution
Let ones and tens digit of the number be 'a' and 'b' respectively.
So, original number = 10b + a
Reverse number = 10a + b
So, a + b = 7 --------- (I)
And, 10b + a - 45 = 10a + b
Or, 9b - 9a = 45
Or, b - a = 5 ---------- (II)
On adding equation I and II,
We get, a + b + b - a = 7 + 5
Or, 2b = 12
Or, 'b' = 6
On putting value of 'b' in equation I,
We get, 6 + a = 7
Or, 'a' = 1
Required number = 10 x 6 + 1 = 61
A printer that prints one line at a time and has a predefined set of characters is called _______
What is the standard query language supported by most DBMSs?
Which of the following is NOT a valid IP address format?
What is the base of the Octal number system?
Which of the following is an example of non-volatile memory?
The first supercomputer of the world is?
The register is a type of ___________
____________ process checks to ensure that the components of the computer are operating and connected properly.
What software converts the entire program into machine code at once?
Which of the following commands is used to display IP configuration details in Windows?