Variables should not be declared with spaces;
float length,width,radius,3.14,height,volume of box,volume of cylinder;
volume of box, instead you can give volume_of_box..
There are certain...
Type: Posts; User: Hemambara
Variables should not be declared with spaces;
float length,width,radius,3.14,height,volume of box,volume of cylinder;
volume of box, instead you can give volume_of_box..
There are certain...
Keep the statements under if condition in braces. Like below
if((number>largest1)){
largest2=largest1;
largest1=number;
}
Provide the full printStackTrace(), then we can help you out
Comment {} on line 11, then it would be like this
public class ARG
{
public static void main(String[] args)
{
int[] A = new int[10000];