wood burning stoves*
The moose likes Beginning Java and the fly likes cash's program please i need your help quickly!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "cash Watch "cash New topic
Author

cash's program please i need your help quickly!!!!!

Burak Tass
Greenhorn

Joined: Jun 24, 2009
Posts: 12
3. Write a program that will input the number of lines n, and produce a triangle as shown in sample outputs below (line numbers 9 and 5):
Enter line: 9
73 64 55 46 37 28 19 10 1
57 49 41 33 25 17 9 1
43 36 29 22 15 8 1
31 25 19 13 7 1
21 16 11 6 1
13 9 5 1
7 4 1
3 1
1 Enter line: 5
21 16 11 6 1
13 9 5 1
7 4 1
3 1
1
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18529
    
  40

First, please read this...

http://faq.javaranch.com/java/NotACodeMill


Okay, so, what have you done so far? What specific issue that you are currently having? Please describe it, and we'll try to give you a hint in the right direction.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Burak Tass
Greenhorn

Joined: Jun 24, 2009
Posts: 12
I can't do this i only want to learn codes and i have an exam tomorrow can you send me this program codes this is not assignment i want to study my exam please help me
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11160
    
  16

Folk here will NOT give you the answer. If they do, moderators (such as myself) will delete it. We're here to help you learn, not spoon feed you answers to homework or test questions.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Burak Tass
Greenhorn

Joined: Jun 24, 2009
Posts: 12
Moderators please help me
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18529
    
  40

Burak Tass wrote:Moderators please help me


If your exam is tomorrow, then I would recommend that you give up on these assignments, and go back and reread your text book. Learning from "example codes" is overrated in my opinion -- and the text may be better use of your time.

Henry
Burak Tass
Greenhorn

Joined: Jun 24, 2009
Posts: 12
But i can't do this myself and i need your help and codes i will fail
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18529
    
  40

Burak Tass wrote:But i can't do this myself and i need your help and codes i will fail



Look, you said "this is not assignment" and you just "want to study [for your] exam". Well, I am saying, if it is not an assignment, then skip it.... with only a day to study for the exam, it is best to just go back and reread your text book. Looking at other people's code is not the best use of your time at this point.

Henry
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11160
    
  16

Burak Tass wrote:Moderators please help me
The moderators job is NOT to help you at all, but to enforce the polices here at the ranch. That includes not spoon-feeding you the answers.

Now, many moderators are also swell people, and experts in Java. Many will spend LOTS of time helping you learn. Henry (a moderator, by the way) is clearly doing exactly that. He's given you several tips and suggestions. Follow his advice, and you'll figure it out.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Burak Tass wrote:But i can't do this myself and i need your help and codes i will fail

This sounds harsh, but if you have an exam tomorrow and you have no idea to do this, that means you didn't study, and I'm sorry to say, but you deserve to fail.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
W. Joe Smith
Ranch Hand

Joined: Feb 10, 2009
Posts: 710
I am compelled to agree with Jesper. Judging by your other threads, and I am trying to be as nice as possible, you waited until the last minute, didn't put the effort forward and now expect others to give you answers which will just not happen here.

Don't think that the Ranch is a bad place. We are here to help (I have gotten so much help here!) but you have to show the effort first. If you would have posted a piece of code, explained what it was supposed to do, what it was actually doing, and asked for help you would have gotten plenty of replies.


SCJA
When I die, I want people to look at me and say "Yeah, he might have been crazy, but that was one zarkin frood that knew where his towel was."
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38007
    
  22
Thank you very much, W Joe Smith
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

Burak Tass wrote:But i can't do this myself and i need your help and codes i will fail


Good! The grade is supposed to reflect your knowledge.

When you are ready to learn perhaps we will see you here again.



permaculture Wood Burning Stoves 2.0 - 4-DVD set
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cash's program please i need your help quickly!!!!!
 
Similar Threads
Exception
pattren
Where are the dates
Wats the output..... Explanations needed....
Exception