Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Java

  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Location
    Port Moresby (Papua New Guinea)
    Posts
    1
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy Java

    How can I write a program that allows me to enter a number between 2 and 20 and print a file sequence with sides with the number of asterisks(*):rolleyes:

    Example input
    Enter a number: 3

    ***
    ***
    ***

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,462
    Thanks
    0
    Thanked 633 Times in 623 Posts
    You have posted your question in the wrong forum. This forum is for sharing working JavaScript code.

    You should post your question in either the JavaScript Programming or Java Programming forums - depending on which of the two languages you are asking about.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    James Ausi (04-08-2013)

  • #3
    Banned
    Join Date
    Mar 2013
    Posts
    139
    Thanks
    0
    Thanked 9 Times in 9 Posts
    Quote Originally Posted by James Ausi View Post
    How can I write a program that allows me to enter a number between 2 and 20 and print a file sequence with sides with the number of asterisks(*)
    Are you aware this can easily be done server side, say with php, as well?

    So post your request in one of the server side forums if you actually prefer to do this server side.

  • Users who have thanked knightCoder for this post:

    James Ausi (04-10-2013)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •