Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

BUILDING JAVA PROGRAM


  • Please log in to reply

#1
daddystyx

daddystyx

    New Member

  • Member
  • Pip
  • 1 posts
I have been working on my wifes program since we are both taking our first java class together and cant get it to work and the internet has no websites to help me out on this one. This is the question that the book asks.

write a program that asks the user to enter a number to equal the triangle size. using nested for loops....below is what i can get the program to do which is everywere online.

*
**
***
****
*****

what i need is this

*
**
***
****
*****
****
***
**
*

if anyone can help me on this one at all it would be a big help since i have my assignment done but hers is not and we both have to go to call tomm. meaning that i might do good with the teacher but i will live through [bleep] at home :tazz:
  • 0

Advertisements


#2
stu_design

stu_design

    Member

  • Member
  • PipPipPip
  • 217 posts
create another seperate loop but this time instead use decrementing counter instead of the other way around

if u still need help, ill help u out dont wanna solve it for u
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP