gnopaste

Sorry for this ugly message. We are searching for some translators.
Please send me an eMail or jabber: t4c@im.digital-bit.ch
Got: de, en, pl, ro, lu, ru, es - Need: everything else

Name
[java]Vocali
Scriptlanguage
Java
Tabwidth
4
Date
03/13/2010 01:42:15 pm
IP
151.32.237.64

[http://capiamoinsieme.bloog.it] Conta le vocali in una parola

  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5.  
  6. package javaapplication1;
  7. import java.util.*;
  8.  
  9. /**
  10. *
  11. * @author Administrator
  12. */
  13. public class Vocali {
  14.  
  15.     public static void main(String[] args) {
  16.  
  17.         Scanner input= new Scanner(System.in);
  18.         String line= input.nextLine();
  19.  
  20.         for(int i=0;i<line.length(); i++){
  21.             char c= line.charAt(i);
  22.             System.out.println(c+"  "+line.charAt(i));
  23.             }
  24.         }
  25.     }
submitter » gnopaster | imprint « imprint     
» Terms of use «
» digital bit dot ch - t4c's new home «