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
SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?
Tell me the jobs for the MCA Fresher in delhi, Noida..
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?
what is the difference between uservariables and systemvariables (in Environmental variables)???
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
what is adodb??y it is used for connection of V.B and access??what is ado?dao?
Tag for turning an image into a hyperlink is
is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...
Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad
How do you initialize a static member of a class with return value of some function?
What are events in smartforms?
how to add Servlet-api.jar file into eclipse 3.3.2 ?
3. What is the difference between testing and Quality Assurance?
what are the advantages of sap on other software ?
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.