+ 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?

17th Jul 2023, 8:13 PM
Ankit Kumar Prasad
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.
17th Jul 2023, 8:52 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Ankit Kumar Prasad What exactly do you mean? Like using logic to plan out your code?
17th Jul 2023, 8:20 PM
Junior
Junior - avatar
+ 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
17th Jul 2023, 9:35 PM
RuntimeTerror
RuntimeTerror - avatar
+ 1
i got confused in logic building
17th Jul 2023, 8:53 PM
Ankit Kumar Prasad
0
Ankit Kumar Prasad What are you exactly confused about in logic building? Like what Ausgrindtube said using pseudocode is a good way.
17th Jul 2023, 8:58 PM
Junior
Junior - avatar