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


Please Help Members By Posting Answers For Below Questions

what is the software to run the GSM gate opener program

1662


how we can know the funcions available in a class recording java?

1751


Hi I am Rathnam, How To Remove the duplicates with out using remove duplicate stage in the datastage

1526


Definition of Singleton Class? what is the Purpose of it? what is the advantage?

1590


how do i create my own exception class which will restrict IO exception?

2301






without selecting individually each field in Action Class from jsp,what is the best process to select as many as field at a time automatically from jsp page by using value object class.

1436


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

11127


Is buffer size and file block size is similar? If similar,at which case it will be same size?

1736


Write a program to create a process in UNIX

2090


how to remove header and footer in jcl using sort utility

5101


what is the certificates in biztalk?

1430


I want to insert date in the form of yyyy-mm-dd... if any changes happen while inserting date format want to show error meg...any one can solve this..??

1661


Can anyone send me NIC question papers alongwith answers on nidhi1485@yahoo.co.in? Urgently needed.. Thanks in advance

1840


Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)

2228


V2 SOLUTIONS APTI paper is very easy there are 3 sections 1'st is quant problem on age train traveling speed is given length of train is given we have to find out length of bridge then prob on calender one date is given on Friday hv to find out day of othe date ans is Friday then there was 1 prob on percentage which was very easy ans was 21340 then 2’nd section was english grammer had has been being like that hv to fill in the blanks was very wasy then last section was find relative words there was five Q 1 pant ANS:-breath 2inquire ans :- ask And 3 more out of that 1 ‘s ans was:- body 4 And others ans was :-through THEN THEY HAVE GD There was three topics 1 should we allow india’s talent to go to abrod 2 protest against seperate state is justify 3 inturuption of politics in cricket Thats all guys i cleared both the rounds now preparing 4 interview best of luck

1777