i expanded mine so its more understandable
and added it in a class with main for testing
i think it was 2 points for each of the first 5 ( aka 1a = 2p , or 2a = 4p)
then if its over 5 they get...
Type: Posts; User: wolfgar
i expanded mine so its more understandable
and added it in a class with main for testing
i think it was 2 points for each of the first 5 ( aka 1a = 2p , or 2a = 4p)
then if its over 5 they get...
after i posted and read back through it i realized , i was just too lazy to fix it XP
here's a full 1 i came up with while reading that ,idk about grammar spelling or syntax but otherwise here it is
public int attendance (int a){
if (a >= 5){ // checks if the times he...