Skip to main content

hi i need help with java

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
michel22
Offline
Joined: 2014-07-12

hi i have some quiestions
Write a program that creates an array size 10 (0-9) and the first name in each cell (cell index zero) the index of the last cell?

2.Write a program that brings together all the digits of the INT. For example the result of 765 will be 18?

3.Write a program which defines three variables of type INT, and prints them smallest to greatest and vice versa.i tried to do it from the bigger to the smaller http://pastebin.com/8jWqVWTf whats wrong?

4.Write a program with a single INT number, the program checks whether the number 2 appears in INT.

i need the way for the result and the result i have a test in a few days

thnx