Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2617

Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing?

X-Received by 10.224.172.134 with SMTP id l6mr134177qaz.7.1363949898311; Fri, 22 Mar 2013 03:58:18 -0700 (PDT)
X-Received by 10.49.3.42 with SMTP id 10mr55841qez.23.1363949898288; Fri, 22 Mar 2013 03:58:18 -0700 (PDT)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!ca1no427700qab.0!news-out.google.com!k8ni10926qas.0!nntp.google.com!t2no9934410qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.help
Date Fri, 22 Mar 2013 03:58:18 -0700 (PDT)
In-Reply-To <760ab6c0-6f23-424d-9b6f-c8bf30c65a6a@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=58.160.120.249; posting-account=CKfoawkAAAABKEFYxQyDdE9HgtLgCbBL
NNTP-Posting-Host 58.160.120.249
References <760ab6c0-6f23-424d-9b6f-c8bf30c65a6a@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <0f08a9eb-abb1-4d61-98af-b11b7cd1a90a@googlegroups.com> (permalink)
Subject Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing?
From alex rodriguez <dralex73@gmail.com>
Injection-Date Fri, 22 Mar 2013 10:58:18 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 3184
Xref csiph.com comp.lang.java.help:2617

Show key headers only | View raw


On Thursday, March 21, 2013 4:34:56 AM UTC+11, alex rodriguez wrote:
> Hi, I am trying to solve the following problem. I would like to use the following program which takes an input of initials of somebody's name and displays them to standard output and extend this to output the initials to nine lines tall using characters of my choosing an example character could be "*". Does Java have a function that performs the operation of enlarging the standard output using characters of a persons choosing? Or Can someone write some simple code that a novice could understand to perform a similar function?
> 
> 
> 
> ----------------------------------------------------------
> 
> /**
> 
>  * This program will print your initials to standard output that are nine
> 
>  *lines tall. Each letter will be made up of *'s. This file requires the
> 
>  *TextIO file to work. The TextIO file is available for viewing here:
> 
>  *http://math.hws.edu/eck/cs124/javanotes4/source/TextIO.java
> 
>  */
> 
> 
> 
> 
> 
> 
> 
>  public class Initials {
> 
> 	
> 
> 	
> 
> 	static String userInput;    //string declaration 
> 
>    
> 
>    public static void main(String[] args) {
> 
>       
> 
>       System.out.print("Please type in your Initials: ");
> 
>       userInput = TextIO.getWord();
> 
>       System.out.print("Your initials are ");
> 
>       System.out.print(userInput);
> 
>       
> 
>       
> 
>       
> 
>    } // end of main()
> 
>    
> 
> } // end of class Initials
> 
> -----------------------------------------------------------
> 
> 
> 
> Cheers,
> 
> 
> 
> Alex



Thanks Lew, I am not doing homework this is for my own experimentation and learning. Though your help is noted. I will read that link.

Thanks Roedy, I will look at that link.

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How do you print to standard output letters letters of 9 lines tall using characters of your choosing? alex rodriguez <dralex73@gmail.com> - 2013-03-20 10:34 -0700
  Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing? Lew <lewbloch@gmail.com> - 2013-03-20 12:18 -0700
  Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing? Roedy Green <see_website@mindprod.com.invalid> - 2013-03-20 20:23 -0700
  Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing? alex rodriguez <dralex73@gmail.com> - 2013-03-22 03:49 -0700
  Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing? alex rodriguez <dralex73@gmail.com> - 2013-03-22 03:58 -0700
    Re: How do you print to standard output letters letters of 9 lines tall using characters of your choosing? Lew <lewbloch@gmail.com> - 2013-03-22 13:44 -0700

csiph-web