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
Tips for blog integration by www.esteemwebsolutions.com. Can Any body suggest me to how to make wonderful questions on web integration..
Diff between IF and where ?
purpose of abstraction and interface
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 ?
kindly send interview materials
Suppose server object is not loaded into the memory, and the client request for it , what will happen?
How do i find out the number of parameters passed into function?
what is the use MDM(Master Data Management)and meaning
Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.
Is buffer size and file block size is similar? If similar,at which case it will be same size?
details description on this mantis? who is founder of this mantis?
what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?
through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?
EXPLAIN UNARY OPEARATORS
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.