sai rama krishna wrote:No
Try copying the code correctly.
sai rama krishna wrote:
If i want below output as ascending order from first to second row to third row etc as below how to modify the code
Since this is likely a homework assignment, or following up a homework assignment
sai rama krishna wrote:
Since this is likely a homework assignment, or following up a homework assignment
this is not. you assumption is wrong
Why not post something which you wrote yourself that actually works.
Start by indenting it correctly.sai rama krishna wrote:. . . how to improve/modify my code. please advise
All things are lawful, but not all things are profitable.
. . . which you can set up as an option in Eclipse.Junilu Lacar wrote:. . . A blank line to separate one method from the next . . .
Don't be lazy. You have around 25 effective lines of code. At this stage probably better would be not to use Eclipse at all, but rather have some text editor and console next to you, so you could compile and run the code from there.sai rama krishna wrote:why eclipse wont remove blank lines when i say control A then Control Shift F to format?
Nice code formatting, have a cowsai rama krishna wrote:does above looks ok?
3. Your print() method still has too many lines and has the details for doing way too many things.
Look above the text of one of your posts. Just right of where it says, “Posted 67 years ago” or similar.sai rama krishna wrote:. . . where?
Have you read what Junilu wrote 2 posts ago? I really believed you'll absorb that information. Basically how I understood what he said, that you should take very small steps at a time and make some methods, so each of them would do very concrete singular task.
That feels good. Thanks. Here's a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|