A loop statement is given as:
for(i=20;i>20;-)
{
statement
}
How many times will the following loop executed?
1. 2
2. 3
3. 1
4. 0
help fast plz
Answers
Answered by
1
xchdchdjd4thjfehnjrwxeyyhvdstyuuuujfcbffscvhhfxvngdavbHftmmopolurwdgj
Answered by
2
Explanation:
Sum of the digits of a two-digit number is 9. When we interchange the digits, it is found that the resulting new number is greater than the original number by 27. What is the two-digit number?⇒ New number = 27 + original number⇒ 10y + x = 27 + (10x + y)⇒ 10y + x = 27 + 10x + y⇒ 10y - y + x - 10x = 27⇒ 9y - 9x = 27⇒ y - x = 3 -------- equation (ii)By adding equation(i) and equation(ii):x + y + Let the digits of the original number be x and y
Similar questions