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.

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


Please Help Members By Posting Answers For Below Questions

how to convert hashmap to arraylist with iteration

1961


what is difference between kpo and it industry? that is in terms of work, package etc

2025


what is delegate and delegation model give the real live example on delegate model

3290


How does the TCP handle the issue of multiplexing?

2890


Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?

1995


if 3 duplicate records, by keeping one original and one duplicate record, and how to delete remaining 2 duplicates in sql server 2008

2153


what are the 3 forms of a prolog term

3249


In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

1975


How do you pass variables forwrd to future CECI sessions

4509


You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?

1082


10.Define filters,binary to hexadecimal,hexadecimal to decimal?

2112


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

3667


What is diffrent between Method and and function in c#

2010


pleasew define carrier scope in abap (sap).

2662


can we retrieve only integer/String type columns from a table,if yes how?

1935