Page 3 of 9 FirstFirst 123456 ... LastLast
Results 21 to 30 of 90
  1. #21

    Quote Originally Posted by javapenguin View Post
    Dili lang nako pakyawon kay matapulan na unya ka, hehehe

    Kung ganahan ka tiwason, huwat huwat lang sa mga expert kay sila na mo tiwas
    cge2x salamat sa pag tubag... tnx jud... atleast ma inspire ko buhat sa akong final proj..

  2. #22
    hahaha, ahaka javapenquin oi, hehehe. dili pa kuno pakyawon. Humana jud na 25 programs bah!

    FrozenBoi: kinsa inyong teacher sa JAVA?

    **Update sad ninyo kung pila na kabook ang na.solve para dili mag.duplicate ug buhat!

  3. #23
    Quote Originally Posted by ChaosOrb View Post
    hahaha, ahaka javapenquin oi, hehehe. dili pa kuno pakyawon. Humana jud na 25 programs bah!

    FrozenBoi: kinsa inyong teacher sa JAVA?

    **Update sad ninyo kung pila na kabook ang na.solve para dili mag.duplicate ug buhat!
    ako ni tiwason ug feel na nako, hahaha, kulang pa sa inspiration, hahaha

  4. #24
    @istoryans tagae lng sila program flow or logic or flowchart sa mga problem kaysa tagaan sila ready made na code... para ma challenge sd sila nd makat.on pa jud... luoy ayo ni sila if dle mgkat.on patay ni sa real world of IT or Software2 thing if kana dle mo mg.call center heheh suggestion lng ni ha....

  5. #25
    Quote Originally Posted by DarkCode View Post
    @istoryans tagae lng sila program flow or logic or flowchart sa mga problem kaysa tagaan sila ready made na code... para ma challenge sd sila nd makat.on pa jud... luoy ayo ni sila if dle mgkat.on patay ni sa real world of IT or Software2 thing if kana dle mo mg.call center heheh suggestion lng ni ha....
    dli man ni cya IT og CS...

    CmpE man ni ila course...

  6. #26
    Quote Originally Posted by FrozenBoi View Post
    sa prospektos nko 2005 wla man mi subjct java,, C++ man unta to e teach sa amoa pero kbw nman mi mao g try sa among teacher java nlng.. dnt knw sa new prospektos sa SANJO kng naa ba Java.... ang naa java sa sa amu skull ky IT and CS ra.... gamy rman among software xpertise we are more on the hardware part since we are CMPE.... salamt sa n answer...
    ah, i-solve nalang sa ni sa c++ bro para naa kay idea unsaon, then ayha pangita ug reference book sa java para ma translate into java code ang imong algo sa c++.

  7. #27
    Quote Originally Posted by Eiso View Post
    dli man ni cya IT og CS...

    CmpE man ni ila course...
    Ahw hehe pero applicable mn japon na nila COMP.E mn sd gud ko nd sa software mn ko na butang heheh dle sa Hardware if sa hardware sd sila ma position possible sd nila magamit if ma FIRMWARE developer sila, atleast lng mdyo familiar na sila ug code2 hehehe ako ra sd ni opinion.....

  8. #28
    yup pseudo code na lang..


    ka-remember ko sauna, ang reason nagpa-register ko sa iSTORYA.NET kay nangayo answer sa ako C programming na homework..

  9. #29
    example lang ni:
    Code:
    /**
     * 25.Write a Java class called CountWords, which defines a main() method that asks the user to  
     * enter a String s, and displays the number of words in s. A word is delimited by one or many space 
     * characters. You MUST NOT not use any of the methods defined in the String class other than
     * charAt() and length(). In addition, you MUST NOT use the StringTokenizer class.
     *
     * @author bishop__
     */
    import javax.swing.*;
    import java.text.*;
    
    class CountWords {
    	public static void main( String[] args ) {
    		String s;
    		int words = 0, index, len, notspace = 0;
    
    		s = JOptionPane.showInputDialog(null, "Enter string:");
    		s += " ";
    		len = s.length();
           		for (index = 0; index < len; index++) {
    			if (s.charAt(index) != ' ') {
    				notspace = 1;
    			} else {
    				if (notspace == 1) words++;
    				notspace = 0;
    			}
    		}			
    		
    		JOptionPane.showMessageDialog(null, "Word Count: " + words);
    	}
    }

  10. #30
    cguro enough na ni bro para naa moy mabasihan pag convert sa inyong c++ code to java.
    example lang man ning ako-a para naa na mo idea

    Code:
    /*
     * 21.	Write a Java class called Equals, which defines a main() method that 
     * asks the user to enter two Strings s1 and s2, and displays whether or not 
     * s1 and s2 are equal. Two Strings are equal if they are of the same length 
     * and the same characters appear in the same positions. You MUST NOT use any 
     * of the methods defined in the String class other than charAt() and length().
     * 
     * @author bishop__ 
     */
    
    import javax.swing.*;
    import java.text.*;
    class Equals {
    	public static void main( String[] args ) {
    		String s1, s2;
    		int result = 0, len, index;
    
    		s1 = JOptionPane.showInputDialog(null, "Enter first string:");
    		s2 = JOptionPane.showInputDialog(null, "Enter second string:");
    
    		len = s1.length();
    		if (len != s2.length()) {
    			result = -1;		
    		} else {
    	       		for (index = 0; index < len; index++) {
    				if (s1.charAt(index) != s2.charAt(index)) {
    					result = -1;
    				} 
    			}			
    		}
    		
    		if (result == 0) {
    			JOptionPane.showMessageDialog(null, "Equal !\n" + 
    					                    s1 + " == " + s2);	
    		} else {
    			JOptionPane.showMessageDialog(null, "Not Equal !\n" + 
    					                    s1 + " != " + s2);	
    		}
    	}
    }

  11.    Advertisement

Page 3 of 9 FirstFirst 123456 ... LastLast

Similar Threads

 
  1. Need Help in java. AGAIN! =)
    By jairoh_ in forum Programming
    Replies: 11
    Last Post: 02-29-2012, 08:13 AM
  2. Help in java. Arrays
    By jairoh_ in forum Programming
    Replies: 25
    Last Post: 02-03-2012, 07:48 PM
  3. Help in java
    By jairoh_ in forum Programming
    Replies: 12
    Last Post: 01-11-2012, 10:22 AM
  4. NEED HELP in JAVA EXCELAPI
    By rastaman81 in forum Programming
    Replies: 1
    Last Post: 05-11-2009, 09:17 PM
  5. need help in java programming: creating a folder
    By rastaman81 in forum Programming
    Replies: 4
    Last Post: 03-11-2009, 08:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top