Forum: Java Nov 8th, 2008 |
| Replies: 18 Views: 3,653 Ah after redownloading JCreator FOUR times, I got the code to work :) Although it took me forever to get it working (apparently due to what I was using to run it and not the code itself) I ended up... |
Forum: Java Nov 7th, 2008 |
| Replies: 18 Views: 3,653 Yes I get 0.0% for everything unless they're all As I get 100% for As and 100% for pass or Bs 100% for Bs and 100% for pass...... or same for Fs and fail |
Forum: Java Nov 7th, 2008 |
| Replies: 18 Views: 3,653 while ( grade != -1 && (grade>=0 && grade<=100)){
hmm either way seems to work, but is that okay?
Also I tried:
//Calculations
double Apercent = (((double)Acounter/counter)*100.0);... |
Forum: Java Nov 7th, 2008 |
| Replies: 18 Views: 3,653 Hmm I tried copy pasting exactly what I posted here (to make sure I didn't alter something since then) and re-added the (double) and it still doesn't work >.<
Apercent =... |
Forum: Java Nov 7th, 2008 |
| Replies: 18 Views: 3,653 hmmmm... I'll keep searching :D |
Forum: Java Nov 6th, 2008 |
| Replies: 18 Views: 3,653 double Apercent = (((double)Acounter)/counter)*100);
I tried changing my percentage equations to this... I read that the Acounter will be considered a double now as well as the counter if used... |
Forum: Java Nov 6th, 2008 |
| Replies: 36 Views: 27,375 A site we work with in class is javabat.com .... free, and good practice :) |
Forum: Java Nov 6th, 2008 |
| Replies: 18 Views: 3,653 thank you sillyboy I appreciate you taking the time to help :)
yes I get 0.0% for everything >.< I'll think about what you said and play around with the code a bit more :) |
Forum: Java Nov 6th, 2008 |
| Replies: 18 Views: 3,653 Hey guys =] First I just wanted to say I am excited to have found this forum, it looks like the members are very helpful and friendly! Hopefully I'll be able to contribute what I can but I'm not very... |