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
Colors specified with the notation
When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
how to stop execution of step 3 in a job mainframe
when we use mantis? how learn mantis?
Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad
What are two of your strengths that you will bring to our QA/testing team?
5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above
Write a program to find factorial of a number using functions
Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com
EXPLAIN UNARY OPEARATORS
Find out the list of roles which gives access to GUI activities? thanks in advance
how to convert infix expression to prefix expression?
what are the differences between CONS, LIST, and APPEND
Explain what is OOPS and its concepts?