Given: (x-2)(x+3)= 100;
solve the equation for x using any programing language.
Answers were Sorted based on User's Feedback
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)= 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 |
how to add Servlet-api.jar file into eclipse 3.3.2 ?
how many types of bytes are there???
what diffrence between procedure and function?
what are the steps for creating prompt table dynamically for the specified field
Diff between Proc transpose and Arrays with example?
through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?
Given three sides of a triangle. Write the Program to determine whether the triangle is : 1) Invalid 2) Right Angled 3) Isoscales 4) Equilateral 5) Not Special An Isoscales right angled triangle should be taken as a Right Angled Triangle
3 Answers FFC, Goldman Sachs, Student,
what is the difference between "types" and "data" in abap.
Data structure used to impliment a menu:
they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?
how to generate dsnless connectivity in j2ee
HOW TO DOWNLOAD ORCUT SITE VIDEOS IN PC WITH THE HELP OF MOZILL'S FIREFOX?