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
how do i add a column dynamically in a table by using java application?
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
THERE ARE 4 SOURCE FILES WHICH CONTAINS SAME METADATA CREATE A TARGET THAT SHOULD DISPLAY THE FILE NAME ALONG WITH THE RECORD PLEASE SEND THE ANSWERFOR THIS QUESTION WITH MAPPING
what is dot net framework
Explain what is OOPS and its concepts?
Diff between IF and where ?
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
Code for display the images from drive using vb 6.0?
Any real time example of O2C process from taking order till creating invoice.
As per interoperatbility programs written in one language can be used by other language. How can we restrict the features of one language (say C#) in the programmer written in another language (say VB)..for example we have some features like operator overloading which is possible C#.NET (not in VB.NET), how can we restrict that when we are using this code in VB.NET.
what is delegate and how works delegate and event.
what is web service in java? have u use before.
what is the current salary package in India for a lamp programmer
1) How can u create the table?
will it allow to add same value in HashMap class.