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
public static void main(String args[]) describe it
in IBM PC -AT.WAT AT REFERS TO?
what is meaning of MDM in sap?let me know that meaning
Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?
what are the 3 forms of a prolog term
how will you code the subfile which is in editing mode (multiple case subfile)?
what is the similarity between networking devices?
If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this
When we use Windows authentication mode
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
Define Form modules, Class modules and Standard modules
smal talk is pure object oriented or not?
Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?
Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.
You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)