The sum of three numbers is 20. The second number is 4
times the first number , and the sum of the first and third
is8. Find the numbers.

Answers were Sorted based on User's Feedback



The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / neeraj venu

Three numbers are x , y , z ;
So ,
x + y + z = 20;
4x = y;
x+ z= 8;
therefore ,
8+y=20;

y = 12, x= 3 ,z= 5;

Is This Answer Correct ?    17 Yes 3 No

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / vinod

x,y,z
1: x+y+z=20
2: y=4x
3: x+z=8

so:
x+4x+8-x=20
4x=12 so x=3
y=4*3 so y=12
z=8-x so z=5

Is This Answer Correct ?    8 Yes 3 No

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / dheeraj shandilya

Let the three numbers be x, y, z.
Then A/Q second number is four times the first number .
It means y= 4x
so
x+4x+z =20-------(1)
also x+y =8----------(2)
solving these two equation we will get x=3, y= 4x= 12 and
z= 5.
So the three number will be 3, 12, 5

Is This Answer Correct ?    1 Yes 0 No

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / dheeraj shandilya

In Answer posted above there is a typing mistake. In
equation (2) y should be replaced with z so the equation
(2) became
x+z = 8

Thanks

Is This Answer Correct ?    0 Yes 0 No

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / j

Five more than the number is less than or equal to twice the number5x+less2

Is This Answer Correct ?    0 Yes 0 No

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / j

The sum of the number and 50 is less thanthree times the number

Is This Answer Correct ?    0 Yes 0 No

The sum of three numbers is 20. The second number is 4 times the first number , and the sum of the..

Answer / mariaalex007

The nos are 2,8,5......
solution...
x+4y+z=20;
but.. x+z=8;
so..4y+8=20;
so..y+2=10;
so..
y=8;

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More Python Code Interview Questions

Write a python program to print table of a given number?

0 Answers  


Write a python program to check if a number is a palindrome or not?

0 Answers  


plz tell me the exam date for clerks in sbi

0 Answers   ASD Lab,


Write a python program to swap the first and last value of a list?

0 Answers  


Write a python program to check if a number is a perfect number?

0 Answers  






Write a function that takes as input a binary tree, and prints out each level of the tree on a newline. For example: a / b c / / d e f will output: a b c d e f

0 Answers  


How to print sum of the numbers starting from 1 to 100?

0 Answers  


Write a python program to count the number of vowels in a string?

0 Answers  


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

0 Answers  


Discuss an algorithm to traverse a tree, depth first.

0 Answers  


Write a program to find sum of the digits of a number in python?

0 Answers  


Write a python program to check if a number is a strong number?

0 Answers  


Categories
  • PHP Code Interview Questions PHP Code (33)
  • JSP Code Interview Questions JSP Code (6)
  • ASP Code Interview Questions ASP Code (5)
  • CGI Perl Code Interview Questions CGI Perl Code (3)
  • JavaScript Code Interview Questions JavaScript Code (63)
  • VB Script Code Interview Questions VB Script Code (20)
  • Shell Script Code Interview Questions Shell Script Code (31)
  • Python Code Interview Questions Python Code (34)
  • WinRunner Code Interview Questions WinRunner Code (1)
  • HTML DHTML XHTML Code Interview Questions HTML DHTML XHTML Code (13)
  • XML Interview Questions XML (43)
  • Scripts_Markup Code AllOther Interview Questions Scripts_Markup Code AllOther (5)