Given: (x-2)(x+3)= 100;

solve the equation for x using any programing language.

Answers were Sorted based on User's Feedback



Given: (x-2)(x+3)= 100; solve the equation for x using any programing language...

Answer / sravan

public class Test {
static int x;
public static void find()
{
for(x=0;x<104;x++)
{
if((x-2)*(x+3)==104)
{
System.out.println(x);
}
}

}
public static void main(String[] args) {


find();

}



}

Answer: 10

Is This Answer Correct ?    1 Yes 0 No

Given: (x-2)(x+3)= 100; solve the equation for x using any programing language...

Answer / 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

More Programming Languages AllOther Interview Questions

Diff between %let and Call symput?

1 Answers   Accenture,


HTML is a subset of

8 Answers  


what is software

2 Answers  


i want to open a helkp file that is txt file on link buttons click

1 Answers  


please any one pass file aid,xpeditor and endeavor tools

0 Answers  






Explain three modes in which files can be accessed from python program

0 Answers   Peerless,


what is microprocessor?

1 Answers   HCL,


in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

0 Answers  


It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?

0 Answers   Honeywell,


£¢®£ž›;=9:B9<::C = ADITHI HOW TO GET?

0 Answers  


how many types of bytes are there???

0 Answers  


where is available in this mantis toturials?

0 Answers  


Categories