Ask a New Question
Search
Questions and answers by
Tatvabodh
Questions (2)
Describe something about the industrial revolution in britain
1 answer
405 views
Wap in JAVA to input a 4-digit no. and find largest using nested if.
1 answer
540 views
Answers (5)
Other way to solve this question is: Assume the years be x then Son's age=12, Father's age=42. After x years son's age will be half of father's age i.e. father's age will be twice of son's age So 2(12+x)= (42+x) 24+2x = 42+x 2x-x = 42-24 x = 18 So after 18
It is not necessry but in few cases it happens but seldom
I too think it is Pakistan
80 kph
class { void d(int n) { int a =n/1000; int b =(n/100)%10; int c = (n/10)%10; int d = n%10; if(a>b) { if(a>c) { if(a>d) { System.out.println("greatest="+a); } else System.out.println("greatest="+d); } } if(b>c) { if(b>d) { if(b>a) {