Question
One-seventh of a 2-digit number is 10 less than half of
the number. What is the sum of the digits of the 2-digit number?Solution
Let the unit and tens digits of the numbers be p and q respectively. Hence, the number = 10q + p According to the question, 1/7 x (10q+p) = 1/2x (10q+p) - 10 5 /14 Γ (10q+p) = 10 (10q+p) = 28 (10q+p) = 2 x 10 + 8 Hence, p = 8 and q = 2 Thus, (p+q) = 8 + 2 = 10 The sum of the 2-digit number is 10.
Which of the following correctly describes polymorphism?
What is the main advantage of Hadoop's HDFS (Hadoop Distributed File System)?
Which part of RDBMS handles concurrency control to ensure multiple transactions operate concurrently without conflicts?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
What is a "51% attack" in the context of blockchain?
The ALU (Arithmetic Logic Unit) is responsible for:
What is the name of the operator ** in Python?
The banker’s algorithm is used
In the software development life cycle, what is the phase where the actual code is written?
Which of these signifies Not a value?