All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
Knute Snortum wrote:There are several other issues with your code:
1) Don't write something == true just write something. Don't write something == false, just write !something.
2) You have everything in main. Look at this Wiki: MainIsAPain (that's a link).
3) You should write a method that gets an integer from the keyboard and call that method.
All things are lawful, but not all things are profitable.
Junilu Lacar wrote:I am quite busy today, getting ready for Christmas but if you have time to check back here in a few days, I will lay out an informal course of study for you that will help you get ready for your classes in January.
Martin Machajewski wrote:A bit offtopic but from my experience i can tell :
1.Java for dummies is a very good book for beginners. It teaches you java+oop.
2.Try to write small programms like a calculator or a programm that will load a text File and searches for strings etc.
3.Dont use tutorials, use Forums to ask if your Code is correct or why something is wrong.
4.Never give up, as an example: you did Not learned english in 1 year(i hope you are still learning)
All things are lawful, but not all things are profitable.
On top of spaghetti all covered in cheese, there was this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|