Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

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

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  


Write a function that takes an integer and returns the smallest number that is greater than the given number which is a palendrome. For example, if the input was 111 the next palindromic number would be 121.

0 Answers  


Write a function that takes an array of integers and efficiently calculates and returns the Least Common Multiply in python.

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  


How do you set a global variable inside a function?

0 Answers  


Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].

0 Answers  


Write a function that takes an unsorted integer array, and returns a three element subset whose sum is zero.

0 Answers  


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

0 Answers  


Write a python program to check if a number is an armstrong number?

0 Answers  


Discuss an algorithm to traverse a tree, depth first.

0 Answers  


Write a python program to check if a number is a prime 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)