• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Burak Tass
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Burak Tass
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moderators please help me
 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But i can't do this myself and i need your help and codes i will fail
 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 710
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much, W Joe Smith
 
Trailboss
Posts: 23778
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.


reply
    Bookmark Topic Watch Topic
  • New Topic