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


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

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

Newsgroups comp.lang.java.help
Date 2013-03-22 03:49 -0700
References <760ab6c0-6f23-424d-9b6f-c8bf30c65a6a@googlegroups.com>
Message-ID <8847e74b-ef7c-4c46-9079-23b809713be2@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>

Show all headers | 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?
> 
> 
> 
> ----------------------------------------------------------
> 

To Lew, I am not doing a particular course this is just for my own experimentation and learning. Though you help is noted. Cheers, Alex.
> /**
> 
>  * 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

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