Given: (x-2)(x+3)= 100;
solve the equation for x using any programing language.
Answers were Sorted based on User's Feedback
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)= 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 |
. With the help of above table EMP, perform the following operation is sql. a) Add the new column “DEPTNO” b) Rename the table c) Update table d) Modify the table if column ‘SAL’ whose data type is number (10) and you want to enter varchar2 (15) . For example $USD 20 etc.
what is the system development cycle
why we use abstract word in abstract window toolkit in java language.
How can you incorporate a Datawindow to a Oracle8i stored procedure?
can any method return type may be constructor , or that method name allow
5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above
how can i split string in a textbox in windows appication using C#.net
Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)
hi all, i need ur help in preparing a sql which performs scd2, i mean i have a scd2 mapping i need a sql which can give me same result as scd2 mapping, SRC table: cust_no, loc 01 abc 02 xyz TGT table: pm_ky cust_no loc current_flag 1 01 abc Y 2 02 xyz Y cust 1 has changed his loc to xyz then it loads into TGT table as below, pm_ky cust_no loc current_flag 1 01 abc N 2 02 xyz Y 3 01 xyz Y i need sql to get the above result, hope got me question, Any suggestion will be appreciate.. thanks, Vinod
is try block possible without catch block?
what is dynamic polymorphism?
What is the difference between COM and CORBA?