Given: (x-2)(x+3)= 100;
solve the equation for x using any programing language.
Answer Posted / 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 |
Post New Answer View All Answers
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.
how will you code the subfile which is in editing mode (multiple case subfile)?
it is a language or tools?
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
Can any one give an example (Source Code) on virtual function implemetation in Java?
How to get the index of the clicked field in reports in ABAP?
Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?
What is the merger sort principle and its time complexity.
what is the use MDM(Master Data Management)and meaning
Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod
what is web service in java? have u use before.
HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??
hoe to data grid use in sql server 2000?
when a query is made on Logical file in DB2/400, will the records satisfying select/omit criterion be fetched from all members of physical file or only the member with same name as physical file?
Write a program to find whether a given number is prime or not.