User Profile

Collapse

Profile Sidebar

Collapse
X106
X106
Last Activity: Nov 14 '07, 01:47 PM
Joined: Oct 31 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • X106
    started a topic Array
    in Java

    Array

    How to use the technique of Array to replace switch statements






    class Month {
    public static void main(String[] args) {

    String month1 , leapyear = null, name = null;
    int year, days = 0, month ;
    month1 = JOptionPane.sho wInputDialog("E nter a month: ");
    month = Integer.parseIn t(month1);
    switch (month) {...
    See more | Go to post

  • X106
    started a topic find max value by Array
    in Java

    find max value by Array

    how to using the technique of Array so that I can input 5 values and then the program will find out which value is the large one.

    Who can help me????
    THANK!!!!!
    See more | Go to post

  • X106
    replied to Nested loop structure
    in Java
    Thank you ,you all help me a lot!!!!!!!!!!
    See more | Go to post

    Leave a comment:


  • X106
    replied to Nested loop structure
    in Java
    I understand the concept, jos,but I can't write in code, I just wrike like that

    class NestedLoop {
    public static void main (String [] a) {
    int n=5, i, j;
    for (i = 1; i <=n; i++) {

    Then I don't know how to write.Can help me how to write in code?
    See more | Go to post

    Leave a comment:


  • X106
    started a topic Nested loop structure
    in Java

    Nested loop structure

    hi
    i am beginner in java and i need help with programining ,Please if you could suggest me some sites where i can see some solved examples of codes as well as i need code for following

    55551
    55512
    55123
    51234
    12345


    I need a code to make above mentioned , in nested loop form.

    thanks and regards
    See more | Go to post
No activity results to display
Show More
Working...