This program is meant to calculate the average of 3 numbers but i keep receiving errors that i don't know how to fix. the Language i used is java, if you could show me what I did wrong I would greatly appreciate it.
@PaoloAmoroso Thanks for the reply, I made the changes you suggested and came up with only one error, unlike before where i had 17. This new error still persists even after I change the header to what is "expected". Do you have any Recommendations?
This program is meant to calculate the average of 3 numbers but i keep receiving errors that i don't know how to fix. the Language i used is java, if you could show me what I did wrong I would greatly appreciate it.
My Java is a bit rusty but it looks like you're using variable
sc
without defining it. Maybe you meant to usekeyboard
instead instead ofsc
?@PaoloAmoroso Thanks for the reply, I made the changes you suggested and came up with only one error, unlike before where i had 17. This new error still persists even after I change the header to what is "expected". Do you have any Recommendations?