Forum: Java Sep 12th, 2009 |
| Replies: 7 Views: 243 have u got the correct output.. if yes..good |
Forum: Java Sep 12th, 2009 |
| Replies: 7 Views: 243 u have to write a function to convert 3.99999 into 4 .Thats ur job now |
Forum: Java Sep 12th, 2009 |
| Replies: 7 Views: 243 i read in wikipedia and found 4 cube 64 is not a cube the list is 8,27,125 ...many others are giving a decimal values
this is how i counted the standard cubes upto 126
class cubes
{
public... |
Forum: Java Sep 12th, 2009 |
| Replies: 7 Views: 243 Check out this Math.pow(8,1.0/3.0) does not give value 2.
use like this Math.pow(8,1.0/3).
sorry it gives i am working on it..... |
Forum: Java Sep 3rd, 2009 |
| Replies: 7 Views: 413 import java.util.Scanner;
public class listProduct {
public static void main (String[] args){
int productChoice;{
Scanner scanAnything = new Scanner(System.in);
System.out.print("Processed... |
Forum: Java Sep 3rd, 2009 |
| Replies: 7 Views: 413 Here is how i can explain loop within a loop(nested loop)
for(int i=0;i<4;i++)
{
for(int j=0;j<4;j++)
{
......
}
} |