• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Dx Ball Game

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Holla Ranchers!!!
Out of grave emergency i had to copy this program from a site but now i need to understand the program for Viva in my school.....am in FIX!!!
Can anyone help me with my queries?? Here goes the program:
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all it's not a very good practice to copy codes like this. Leaving that apart could you please reformat your code inside code tags and let us know your queries?
 
Marshal
Posts: 80960
525
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

I have added code tags, which simply help you see what poor code style it has. We require you quote the source for such code, to avoid copyright problems.
I don’t think you will learn anything useful from that code, I am afraid.
 
Urmimala Bose
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot Swastik and Campbell for your advice... i'll surely keep these in mind.
Source:
http://www.123eng.com/forum/index.php?f=8
 
Sheriff
Posts: 22862
132
Eclipse IDE Spring TypeScript Quarkus Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Definitely not. Nobody likes going through hundreds of lines of code. We always prefer an SSCCE.
 
Urmimala Bose
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java program on Pascal's Triangle....... I need the program code. Thanks in advance
 
Campbell Ritchie
Marshal
Posts: 80960
525
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I presume you will post that last request again on 1st April rather than 1st February. And do spend the intervening two months looking at some of our FAQ: 1 2 3
 
Urmimala Bose
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a ton Campbell for your immense help....but...... I have solved my problem rather done the pascal's triangle myself and i was not actually trying to get my work done from someone (as I understood by reading FAQ 1).
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic