+ 1
Confused about making programs
Hey guys, i have remember all syntax in java but still can't program and sometimes confused in logic building. Anyone can guide me to understand the logics of a program?
5 Respuestas
+ 3
I would do some research on pseudocode. It helps me if I get out a book or some paper and start writing all over it. You can start to see what need to connects to where and things like that. Then you form your classes and their methods.
+ 2
Ankit Kumar Prasad What exactly do you mean? Like using logic to plan out your code?
+ 2
The hardest part is knowing which function and when to use it and since you're sure of that already. Logic building is very simple.
Honestly, everything just come down to "if-else" or "switch" statements.
To make things even more easier, don't try to write short code. Write your logic as verbose as it could be. Don't play professional at the first try.
After your code start working as expected, then you can try to go professional, shortened the logic and optimize it
+ 1
i got confused in logic building
0
Ankit Kumar Prasad What are you exactly confused about in logic building? Like what Ausgrindtube said using pseudocode is a good way.