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
Write a program to swap the content of two variables without using a third variable.
what is the difference between read the data from table and infotype
sample and simple coding where we get?
we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/
1) How can u create the table?
in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?
Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?
Write code to read the records from a file and load any array of size 99?make sure that you take care of all the error conditions?
THE CHANNEL IN DATA COMMUNICATION CAN BE?
what is the difference between Windows application and Unix application?
what is the software to run the GSM gate opener program
what do u mean by tagging
Have you used callsymputx? what points need to be kept in mind when using it?
What are events in smartforms?
what is the difference between an OS(operating system) and Framework?