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

Write a program to swap the content of two variables without using a third variable.

675


what is the difference between read the data from table and infotype

2177


sample and simple coding where we get?

1875


we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/

1703


1) How can u create the table?

1482






in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?

1742


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

1572


Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?

1694


THE CHANNEL IN DATA COMMUNICATION CAN BE?

1656


what is the difference between Windows application and Unix application?

2245


what is the software to run the GSM gate opener program

1766


what do u mean by tagging

1695


Have you used callsymputx? what points need to be kept in mind when using it?

1631


What are events in smartforms?

1880


what is the difference between an OS(operating system) and Framework?

1619