I understand that this is a math place but I need help with Java programming on Eclipse.
what;s up?
i passed programming methodologies on eclipse but don;t remember syntex very well,but will try
what exacetly do you want me to do|/?
it will be good if you do this in different programs
for example 1 one would be : public class project extends ConsoleProgram{ public void run(){ double k=Math.pow(2.0,3.0); println(k); } }
oh i am using stanford libraries
i studied it with using stanford libraryes
but still what doesn;t work?
pow is correct
double k=Math.sqrt(25.0);
int max=Math.max(6,2) .....gives 6
double max=Math.max(-50.0,7.0);
double k=Math.random();
oh i don;t have so much time sorry @zemno might help if he is online
i advice you to watch stanford programming methodology course on youtube
just message him and he will help if he is online.are you studying java?
at stanford>?
watch online course
but this problems seem easy jsut i don't know "real" java syntax well
we used stanford libraries
ok i have a bit more time now
ok do you understand randomStudy()?
did you read the discription what is does?
and the dicription what is does,i will write moer clearly code
yes
public class stringexercies { public static void main(String[] args) { int total,min,max; total=0; min=11; max=-1; for(int i=0;i<1000;i++){ int k=(int) (10*Math.random()); total=total+k; if(total<min){ min=total; } if(total>max){ max=total; } } System.out.println("min value"+ min); System.out.println("maxvalue"+ max); System.out.println("min value"+ total/1000); }
calline methods is randomStudy();
just change the my name stringexercise with randomStudy
show me your code if it isn't working
yes
are you here?
Join our real-time social learning platform and learn together with your friends!