Draw a flowchart to accept and print the product of two numbers and repeat the process 5 times?
( b) Write a program to print 2 to 10 in reverse order?
Answers
Answered by
0
Explanation:
Let the two digit number be 10y+x
it is given that 10y+x=4(x+y)...(1)
and 10y+x=3xy...(2)
So, 10y+x=4x+4y and
⇒63y=3x
⇒2y=x
Substituting in (2)
10y+2y=6y
2
⇒12y=6y
2
⇒2=y
⇒x=4
∴ The number is 10×2+4=24
Similar questions
Hindi,
6 hours ago
Computer Science,
6 hours ago
Computer Science,
6 hours ago
Math,
12 hours ago
Math,
12 hours ago
Physics,
8 months ago
Hindi,
8 months ago