Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions Print Alphabets in Horizontal order with Astricks.
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


kumar
Print Alphabets in Horizontal order with Astricks.
0 Answer(s)      a year ago
Posted in : Java Interview Questions


How to print "X",?"Y","Z" in console as shown below, user can enter any of these letters, or combination of letters, or all the letters as first parameter, second parameter will be a number which should be odd number minimum of 3 and maximum of unlimited, example of second input parameter is 3, 5, 7, etc. Also it is expected to design the logic to cater other alphabets in future implementation.

For Example : if a user give letters like this X, Y, Z and a number like 3, the output must be combination of Astricks(*).

Output of X is: * * same as remaining. * * *


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Print Alphabets in Horizontal order with Astricks.
Print Alphabets in Horizontal order with Astricks.  How to print "X... to design the logic to cater other alphabets in future implementation. For Example... must be combination of Astricks(*). Output of X is: * * same as remaining
print a-z, A-Z with exact order using loops
print a-z, A-Z with exact order using loops  how to print from a-z, A-Z with exact order using for loop? Thanks for all concern
Advertisements
print from a-z, A-Z with exact order using for loop
print from a-z, A-Z with exact order using for loop  how to print from a-z, A-Z with exact order using for loop? Thanks for all concern
Horizontal Scrollbar
Horizontal Scrollbar  I am creating a JSF project that has a print("<af:table/>"); the table is too wide to display in the browser. I was wondering if there was anyway to implement a horizontal scrollbar in this table so
order
order   write a java code to enter order of number of chocolates(bar,powder,giftbox) in arraylist. Also consider exceptional cases like entering integer in name use try,catch ,throw to deal with exception
Horizontal Scrollbar
Horizontal Scrollbar  How can I implement a horizontal scrollbar
print
print  How to print JFrame All Componant?   Please visit the following link: http://www.roseindia.net/java/example/java/swing/Print.shtml
Print
into the stream and, as opposed to print() method, gets you to the new line after the text
Horizontal scroll bar?
Horizontal scroll bar?  Hi all, I have a HTTP Servlet..., it does not automatically create a horizontal scroll bar when the data written exceeds... with full navigation using as well a vertical as a horizontal scroll bar (when asked
vertical scrollbar but without a horizontal scrollbar
vertical scrollbar but without a horizontal scrollbar  How do I make a frame with a vertical scrollbar but without a horizontal scrollbar
HQL order by.
employee name into ascending order. If you want to print employee name...HQL order by.  HQL Order by query giving problem.   Order... mention, order by automatically sorted the list in ascending order. Here is an example
Horizontal Rule Attribute in HTML
Horizontal Rule Attribute in HTML        We already know with Horizontal Rule in HTML page. The Horizontal Rule attribute is same as horizontal rule, but only
Ascending order
of them equal to each other, in any order, (for example, 23, 7, 156; but not 23, 7, 23), and then it should print out the three integers in ascending order, saying
SQL ORDER BY
SQL ORDER BY       The ORDER BY keyword sort the table result set by a specified column. You want to sort the records in ascending order,  you can use the ASC keyword
frame with a vertical scrollbar but without a horizontal scrollbar.
frame with a vertical scrollbar but without a horizontal scrollbar.  How do I make a frame with a vertical scrollbar but without a horizontal scrollbar
Horizontal Rule in HTML
Horizontal Rule in HTML       A horizontal Rule in HTML is used to separate two lines or two paragraph between any two objects in HTML.To apply horizontal rule, the <hr>
Adding Horizontal lines to Group Nodes
Adding Horizontal lines to Group Nodes       Introduction In this section, you will learn  to create a horizontal tree in java. Description of the Program
MySQL Order By
MySQL Order By       Here, you will learn how to use MySQL Order By clause. The Order By clause is used for sorting the data either ascending or descending order according to user
Order Entry System
Order Entry System  Create a new order entry system using netbeans and microsoft access.can anyone help me
print a form of *
print a form of *   * *** ***** ******* ********* ******* ***** *** *   Post the format properly
Maven's order of inheritance
Maven's order of inheritance  hello, What is Maven's order of inheritance?   hii, 1.parent pom 2.project pom 3.settings 4.CLI parameters
print the newline
print the newline  Why doesn?t the following code print the newline properly? <?php $str = ?Hello, there.\nHow are you?\nThanks for visiting.?; print $str; ?>   Hi friends, Inside the single quotes \n (newline
print numbers
print numbers  1234 123 12 1234   1234 123 12 1234
Print the document
Print the document  I tried to print web page.I am using the below...() { var printWindow = window.open('test', 'Print Window', 'height=600,width...;Print Window</title>'); printWindow.document.write('</head>
Print the document
Print the document  I tried to print web page.I am using the below...() { var printWindow = window.open('test', 'Print Window', 'height=600,width...;Print Window</title>'); printWindow.document.write('</head>
print the sequence
print the sequence  how can I write the code by using for loop to produce this following statement: 10,9,8,7,6,5,4,3,2,1,buzz! please, help me
date print
date print  how can i print the date in jsp page in the following formate month-date-year. (example. march 8 2012
date print
date print  how can i print the date in jsp page in the following formate month-date-year. (example. march 8 2012
Print a statement
Print a statement  hello what would we output for this statement System.out.println ("5"+"A" + 3);   hello output will be 5A3
i want horizontal mlm tree structure code in php with jquery or Ajax
i want horizontal mlm tree structure code in php with jquery or Ajax  i need horizontal mlm tree structure code in php with jquery or Ajax... in advance.. Thank you
coding for horizontal menubar using using html or javascript - JSP-Servlet
coding for horizontal menubar using using html or javascript  hii friends, i wanted to implement horizontal menubar in my project tht wil open the links to diffrnt pages kindly help
Advertisements
 

 

 

DMCA.com