Given: (x-2)(x+3)= 100;
solve the equation for x using any programing language.
Answer Posted / sumitpalsingh
/*Given: (x-2)(x+3)= 104; solve the equation for x using any programing language.*/
package classroom.program;
public class SolveProblem {
public static void main(String[] args) {
for(int x=0;x<100;x++)
{
if((x-2)*(x+3)==100)
{
System.out.println(x);
}
}
}
}
//output::=10
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
which worker is involved in all the phases of SDLC?
Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.
Which method protects back button to retrieve old value from previous page in Struts.
what are stubs related to foxpro?
In JCl , we have COND parameter.This holds comparison code and condition.It also has only and even parameters. ex: COND((4,GE),EVEN).what the comma mean here. is that 'and' or 'or'.
Write a program to swap the content of two variables without using a third variable.
Define distributed queries. can you explain me as soon as possible
How many forms can you create in a Visual Basic 6 Standard EXE project? Is there any limit on that?
HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??
What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?
Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.
what is dot net framework
1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?
Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming