How to improve logics building skills in programming? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to improve logics building skills in programming?

guys I want to know that how I can improve my logic building skills to solve any kind of programming problem in limited amount of time. And I hope that the answer of this question will help many peoples also☺ because some peoples are also facing this problem😞

14th Dec 2017, 2:07 PM
Puneet
5 Answers
+ 5
If you want to code automatically than you need to think like a machine and not a human. Like you must think how many variables you should define or how to obtain the output etc. Ex a program to find simple interest. Here you need 4 variables namely principle, time, rate and lastly to calculate simple interest. And in second step you need to calculate simple interest using formula si = (p*t*r) /100; And lastly you need to display it. Hope you understood and get clear your doubts.
19th Dec 2020, 4:52 PM
Aysha
Aysha - avatar
+ 5
Puneet most welcome and yess I know this is very old question.
19th Dec 2020, 5:11 PM
Aysha
Aysha - avatar
+ 1
From childhood I used to watch Youtube videos on various topics related to logic. I used to watch Numberphile, TED "can you solve ...", Vihart, Vsauce, etc. I also read math and computer sciences related articles online. I used to doodle fractals, make prime sieves, prime spirals, Pascal's triangles, etc. in my notebooks. I used to attend math competitions with other student. I code often. I think all of that helped me build logic skills. Even seemingly unrelated knowledge, like color theory and prime numbers can and do help each other. But it's because I LIKE learning about logic. I don't know if one should force onself to learn about logic. Just find topics related to logic which are really interesting to you. That's my advice
14th Dec 2017, 2:51 PM
Augustinas Lukauskas
Augustinas Lukauskas - avatar
+ 1
Aysha Simra I asked this question long time ago, by the way thank you for suggestion ☺️
19th Dec 2020, 5:02 PM
Puneet
0
thank you @augustinas for your informative suggestion.☺
14th Dec 2017, 3:58 PM
Puneet