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 function that takes an unsorted integer array, and returns a three element subset whose sum is zero.

0 Answers  


Write a function to efficiently convert a floating point number to a rational number. For example, given 0.125 return "1/8"

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  


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 do you set a global variable inside a function?

0 Answers  






If basic HR function like recruitment, training are outsoureced then, why do companies have their own HR department?

3 Answers   Wellspring,


Write a python program to count the number of digits in a number?

0 Answers  


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

0 Answers  


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

0 Answers  


What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?

0 Answers  


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

0 Answers  


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.

7 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)