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

public static void main(String args[]) describe it

1572


in IBM PC -AT.WAT AT REFERS TO?

1416


what is meaning of MDM in sap?let me know that meaning

1677


Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?

3358


what are the 3 forms of a prolog term

2744






how will you code the subfile which is in editing mode (multiple case subfile)?

1594


what is the similarity between networking devices?

1669


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1696


When we use Windows authentication mode

1572


In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..

984


Define Form modules, Class modules and Standard modules

1471


smal talk is pure object oriented or not?

1521


Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?

1465


Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.

580


You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)

591