Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


For anyone who knows java coding

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
mickym2005
How do I cheat?
Reputation: 0

Joined: 13 Oct 2007
Posts: 8

PostPosted: Mon Dec 08, 2008 10:24 pm    Post subject: For anyone who knows java coding Reply with quote

i wanted to learn some java so i took a class. i got an assignment that has to do with arrays, but i cant figure out how to do it. if anyone could help it would be much appreciated. thanks

question:
write a class encapsulating the concept of converting integer grades to letter grades(A,B,C,D or F), assuming grades are composed of a list of integers between 0 and 100.
what needs to be done:
1)a constructor with just one parameter, the number of students; all grades can be randomly generated.
2) A method returning an array of chars corresponding to the integer grades( 90 or above should be converted to A, 80 or above to B etc...
3) A method returning a number of array of ints counting how many A's, B's, C's, D's, and F's were received.
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Mon Dec 08, 2008 10:35 pm    Post subject: Reply with quote

*cough*
_________________
Back to top
View user's profile Send private message MSN Messenger
darkex
I post too much
Reputation: 0

Joined: 29 Aug 2008
Posts: 2006
Location: Australia

PostPosted: Mon Dec 08, 2008 10:59 pm    Post subject: Reply with quote

shouldn't this be in general programming?
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Mon Dec 08, 2008 11:13 pm    Post subject: Reply with quote

darkex wrote:
shouldn't this be in general programming?


hence the cough. ^^^

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites