Grade concensus code

Having problems with the board or the online guidebook?
Suggestions welcome.
pkananen
Posts: 368
Joined: Wed Jul 18, 2007 2:20 am

Post by pkananen »

what about the mode?
schwagpad
Posts: 286
Joined: Wed Aug 22, 2007 4:04 am

Post by schwagpad »

Not knowing anything about the language you're using does it really force you to copy/paste that much?

Come on SCIN, clean that code up. You should be able to turn that whole thing into a two-liner.

if(ishard)
{
grade = "5.hard"
}else
{I = weakass}

something like that
Post Reply