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

Tips for blog integration by www.esteemwebsolutions.com. Can Any body suggest me to how to make wonderful questions on web integration..

1647


Diff between IF and where ?

1616


purpose of abstraction and interface

1528


1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?

3211


kindly send interview materials

1314






Suppose server object is not loaded into the memory, and the client request for it , what will happen?

2168


How do i find out the number of parameters passed into function?

2211


what is the use MDM(Master Data Management)and meaning

1904


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

645


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

1736


details description on this mantis? who is founder of this mantis?

1679


what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?

1519


through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?

2068


EXPLAIN UNARY OPEARATORS

1801


Q2. A memory location has physical address D5687h. Compute: a. The offset address if the segment number is D445h. b. The segment number if the offset address is B577h.

1629