Ask your own question, for FREE!
Mathematics 13 Online
OpenStudy (jessicaloraine):

I understand that this is a math place but I need help with Java programming on Eclipse.

OpenStudy (sparrow2):

what;s up?

OpenStudy (sparrow2):

i passed programming methodologies on eclipse but don;t remember syntex very well,but will try

OpenStudy (sparrow2):

what exacetly do you want me to do|/?

OpenStudy (sparrow2):

it will be good if you do this in different programs

OpenStudy (sparrow2):

for example 1 one would be : public class project extends ConsoleProgram{ public void run(){ double k=Math.pow(2.0,3.0); println(k); } }

OpenStudy (sparrow2):

oh i am using stanford libraries

OpenStudy (sparrow2):

i studied it with using stanford libraryes

OpenStudy (sparrow2):

but still what doesn;t work?

OpenStudy (sparrow2):

pow is correct

OpenStudy (sparrow2):

double k=Math.sqrt(25.0);

OpenStudy (sparrow2):

int max=Math.max(6,2) .....gives 6

OpenStudy (sparrow2):

double max=Math.max(-50.0,7.0);

OpenStudy (sparrow2):

double k=Math.random();

OpenStudy (sparrow2):

oh i don;t have so much time sorry @zemno might help if he is online

OpenStudy (sparrow2):

i advice you to watch stanford programming methodology course on youtube

OpenStudy (sparrow2):

just message him and he will help if he is online.are you studying java?

OpenStudy (sparrow2):

at stanford>?

OpenStudy (sparrow2):

watch online course

OpenStudy (sparrow2):

but this problems seem easy jsut i don't know "real" java syntax well

OpenStudy (sparrow2):

we used stanford libraries

OpenStudy (sparrow2):

ok i have a bit more time now

OpenStudy (sparrow2):

ok do you understand randomStudy()?

OpenStudy (sparrow2):

did you read the discription what is does?

OpenStudy (sparrow2):

and the dicription what is does,i will write moer clearly code

OpenStudy (sparrow2):

yes

OpenStudy (sparrow2):

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); }

OpenStudy (sparrow2):

calline methods is randomStudy();

OpenStudy (sparrow2):

just change the my name stringexercise with randomStudy

OpenStudy (sparrow2):

show me your code if it isn't working

OpenStudy (sparrow2):

yes

OpenStudy (sparrow2):

are you here?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!