take input of age of 3 people by user and determine oldest and youngest among them.Write python code
take input of age of 3 people by user and determine oldest and youngest among them.Write python code
Similar Questions
Explore conceptually related problems
Directions: Study the following information to answer the given Questions: Eight persons are sitting in a round table viz. P, Q, R, S, T, U, V, and W. All are facing inside the table. They all have different ages viz. 8, 10, 15, 11, 12, 13, 23 and 25 but not necessarily in the same order. T is sitting 2nd to the left of P whose age is an odd number. Q is sitting beside the one whose age is not a prime number. There are two persons between R and Q. The person whose age is multiple of 5 is sitting opposite to each other. V’s age is cubic number and sits immediate left of Q. S is not the immediate neighbour of T and Q. R is to the immediate left of T. The sum of ages of W and T is 23. V sits 3rd to the right of T whose age is a prime number. W’s age is the second youngest among all. U’s age is the square number and sits beside the person whose age is a prime number. The sum of the age of R and V is 19. The age of S is 12. The person whose age 10 years is not a neighbor of T. The age of Q is less than the age of P. How many persons have age less than the age of S?
Directions: Study the following information to answer the given Questions: Eight persons are sitting in a round table viz. P, Q, R, S, T, U, V, and W. All are facing inside the table. They all have different ages viz. 8, 10, 15, 11, 12, 13, 23 and 25 but not necessarily in the same order. T is sitting 2nd to the left of P whose age is an odd number. Q is sitting beside the one whose age is not a prime number. There are two persons between R and Q. The person whose age is multiple of 5 is sitting opposite to each other. V’s age is cubic number and sits immediate left of Q. S is not the immediate neighbour of T and Q. R is to the immediate left of T. The sum of ages of W and T is 23. V sits 3rd to the right of T whose age is a prime number. W’s age is the second youngest among all. U’s age is the square number and sits beside the person whose age is a prime number. The sum of the age of R and V is 19. The age of S is 12. The person whose age 10 years is not a neighbor of T. The age of Q is less than the age of P. What is the age of T?
Directions: Study the following information to answer the given Questions: Eight persons are sitting in a round table viz. P, Q, R, S, T, U, V, and W. All are facing inside the table. They all have different ages viz. 8, 10, 15, 11, 12, 13, 23 and 25 but not necessarily in the same order. T is sitting 2nd to the left of P whose age is an odd number. Q is sitting beside the one whose age is not a prime number. There are two persons between R and Q. The person whose age is multiple of 5 is sitting opposite to each other. V’s age is cubic number and sits immediate left of Q. S is not the immediate neighbour of T and Q. R is to the immediate left of T. The sum of ages of W and T is 23. V sits 3rd to the right of T whose age is a prime number. W’s age is the second youngest among all. U’s age is the square number and sits beside the person whose age is a prime number. The sum of the age of R and V is 19. The age of S is 12. The person whose age 10 years is not a neighbor of T. The age of Q is less than the age of P. What is the sum of ages of P and R?
Directions: Study the following information to answer the given Questions: Eight persons are sitting in a round table viz. P, Q, R, S, T, U, V, and W. All are facing inside the table. They all have different ages viz. 8, 10, 15, 11, 12, 13, 23 and 25 but not necessarily in the same order. T is sitting 2nd to the left of P whose age is an odd number. Q is sitting beside the one whose age is not a prime number. There are two persons between R and Q. The person whose age is multiple of 5 is sitting opposite to each other. V’s age is cubic number and sits immediate left of Q. S is not the immediate neighbour of T and Q. R is to the immediate left of T. The sum of ages of W and T is 23. V sits 3rd to the right of T whose age is a prime number. W’s age is the second youngest among all. U’s age is the square number and sits beside the person whose age is a prime number. The sum of the age of R and V is 19. The age of S is 12. The person whose age 10 years is not a neighbor of T. The age of Q is less than the age of P. Who is sitting opposite to P?
Directions: Study the following information to answer the given Questions: Eight persons are sitting in a round table viz. P, Q, R, S, T, U, V, and W. All are facing inside the table. They all have different ages viz. 8, 10, 15, 11, 12, 13, 23 and 25 but not necessarily in the same order. T is sitting 2nd to the left of P whose age is an odd number. Q is sitting beside the one whose age is not a prime number. There are two persons between R and Q. The person whose age is multiple of 5 is sitting opposite to each other. V’s age is cubic number and sits immediate left of Q. S is not the immediate neighbour of T and Q. R is to the immediate left of T. The sum of ages of W and T is 23. V sits 3rd to the right of T whose age is a prime number. W’s age is the second youngest among all. U’s age is the square number and sits beside the person whose age is a prime number. The sum of the age of R and V is 19. The age of S is 12. The person whose age 10 years is not a neighbor of T. The age of Q is less than the age of P. What is the position ofQ wiht respect to U?
Among six people -A,B,C,D,E and F each of a different age , A is younger than than only D. Only three people are younger than C.F is younger than E.F is not the youngest Who amongst the following is the youngest
Number of ways in which 9 different toys be distributed among 4 children belonging to different age groups in such a way that distribution among the 3 elder children is even and the youngest one is to receive one toy more, is
The average age of 3 children in a family is 20% of the average age of the father and the eldest child.The total age of the mother and the youngest child is 39 years.If the father's age is 26 years,what is the age of the second child? (a) 15 years ( b) 18 years ( c) 20 years (d) Cannot be determined
Eight people viz. L, M, N, O, P, Q, R and S are sitting in a straight line. They all are facing north. Each one of them has a different age i.e. 14, 16,17,19,21,23 26 and 31 year, but not necessarily in the same order. M sits at one of the extreme end of the row. There are three persons sitting between N and Q. Q is of neither 14 nor 19yr old. There are two persons sitting between O and the person whose age is 23yr. Neither A nor B is the oldest person. Age difference of immediate neighbours of O is 5yr. L sits right to the R, but not immediate right. There are three persons sitting between M and the one whose age is 16yr. The one whose age is 19yr sits third to the right of N. R sits to the right of M. Q sits second to the right of the person whose age is 23yr. Psits immediate left of the person whose age is 14yr. Q is not youngest person. The one, whose age is 31 yr in not immediate neighbour of the youngest person, N is not the fourth oldest person. Who among the following person is 26 yr old ?
Recommended Questions
- take input of age of 3 people by user and determine oldest and younges...
Text Solution
|
- निम्न तत्वों में से लेन्थेनाइड तत्व है -
Text Solution
|
- भौमिक समय सारणी क्या है? कौन-सा महाकल्प सरीसृप युग कहलाता है और क्यों?
Text Solution
|
- विकास का उत्प्रिवर्तनवाद निमिन्लिखित में से किसने प्रतिपादित किया था!
Text Solution
|
- अम्ल वर्षा क्या है ? ओोघोगिक संस्थानों में प्रयुक्त होने वाले ईंधनों द...
Text Solution
|
- एक इलेक्ट्रॉन एवं एक प्रोटॉन समान विभव से त्वरित किये जाते हैं। इनमें ...
Text Solution
|
- पाच वर्ष पूर्व, A की आयु B से तीन गुनी थी तथा दस वर्ष बाद A की आयु B स...
Text Solution
|
- वर्णिक 600 किमी घर तक की दूरी कुछ रेलगाड़ी और कुछ कार से तय करता है। य...
Text Solution
|
- समीकरणो x - y + 1=0 और 3x+ 2y - 12 = 0 का ग्राम खीचिए। x -अक्ष और इन...
Text Solution
|