Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Given: (x-2)(x+3)= 100;

solve the equation for x using any programing language.

Answers were Sorted based on User's Feedback



Given: (x-2)(x+3)= 100; solve the equation for x using any programing language...

Answer / 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

Given: (x-2)(x+3)= 100; solve the equation for x using any programing language...

Answer / 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

More Programming Languages AllOther Interview Questions

Please describe an example where you used object orientation in one of your programs.

0 Answers  


I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.

3 Answers  


I'm new to ABAP. What is Module pool in SAP?

0 Answers   TCS,


When you?re running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

2 Answers   BirlaSoft,


what is difference between input parameter and output parameter.

0 Answers   NIIT,


what is diff bet ref variable & instance of class

0 Answers  


HOW TO DOWNLOAD ORCUT SITE VIDEOS IN PC WITH THE HELP OF MOZILL'S FIREFOX?

0 Answers  


how to add a new table with variables and thier values into a imported file uisng proc import?

0 Answers  


what is the draw back of Power builder

0 Answers   IBM,


What are the limitation in using querystring in .net?

1 Answers   Tesco,


WHAT IS MAIN IMPORTANT THING IN SOFTWARE?

0 Answers   Infosys,


what you mean by mantis in IT interview? why we use mantis? advantage of mantis?

1 Answers  


Categories