Given: (x-2)(x+3)= 100;

solve the equation for x using any programing language.

Answer Posted / sravan

public class Test {
static int x;
public static void find()
{
for(x=0;x<104;x++)
{
if((x-2)*(x+3)==104)
{
System.out.println(x);
}
}

}
public static void main(String[] args) {


find();

}



}

Answer: 10

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do find the user exit for selected feild whatis the process and can u plz explain it

1721


Any real time example of O2C process from taking order till creating invoice.

1786


design a counter with the following repeated binary sequence: 0, 1, 2, 3, 4, 5, 6, 7, 8 using JK Flip Flop.

16220


what is the extension of SPDS Dynamic cluster tables?

1622


I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?

5664






What is SOLID Principle in Programming Language?

656


Compare any 4 software development life cycle paradigms with each other. Indicate at least one application for each of the paradigms that are suitable to developed using that paradigm.

2361


what does mean and stack mean in genral programming?

1442


What is dialog programming?

1580


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number

727


Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.

2082


any drawback are there in mantis?

1642


How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there

1566


Difference between debugging, running, executing of an application

3485


1) How can u create the table?

1375