You are viewing a single comment's thread. Return to all comments →
System.out.printf("%.06f%n%.06f%n%.06f",fractionPositive/size,fractionNegative/size,fractionZero/size);
This could be used as a replacement for your print statement
Seems like cookies are disabled on this browser, please enable them to open this website
Plus Minus
You are viewing a single comment's thread. Return to all comments →
This could be used as a replacement for your print statement