| | |
Hurry help me
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Try this, it should work:
java Syntax (Toggle Plain Text)
class print_ascii { static void ascii() { for(int j=1;j<=26;j++) { int n=65; for(int i=1;i<=j;i++) { char a=(char)n; System.out.print(a+" "); n++; } System.out.println(); } } }
Java Syntax (Toggle Plain Text)
class print_ascii { static void ascii() { for(int j=1;j<=26;j++) { int n=65; for(int i=1;i<=j;i++) { char a=(char)n; System.out.print(a+" "); n++; } System.out.println(); } } }
Last edited by John A; Aug 26th, 2009 at 12:08 am. Reason: added code tags
![]() |
Similar Threads
- HURRY! Claim Your FREE Upgrade! FREE TRAFFIC (Ad Space for Sale)
- Developing SQL Server 2000 (MS SQL)
- Hurry! Ad space available : 5,50,000 hits a day, above 16 million a month (Ad Space for Sale)
- Any recommendations on good Flash books? (Graphics and Multimedia)
- Tutorials for Linux (*nix Software)
- motherboard specs (Motherboards, CPUs and RAM)
- PLZ help it's urgent! (Web Browsers)
Other Threads in the Java Forum
- Previous Thread: Re: FileReader
- Next Thread: Using Prepared Statements in JAVA
| Thread Tools | Search this Thread |
Tag cloud for Java
actionlistener android api apple applet application apps arguments array arrays automation balls binary bluetooth card chat class classes client code component consumer database draw eclipse ee error event exception fractal free game gameprogramming gis givemetehcodez graphics gui html ide image input integer j2me j2seprojects java javaprojects jmf jni jpanel julia jvm key linux list loop machine map method methods migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie nextline nls notdisplaying number oracle output print problem program programming project recursion recursive scanner screen security server set size sms socket sort spamblocker sql sqlite string sun swing terminal test threads time tree trolltech windows






