hi guys i have a huge problem
i cant write code on paper
actually i can, but im not good at it
this year i took 2 exams on C and C++ programming where i coded using a compiler, I took two A's
but now i took an exam where I thought there would be just theory, not again coding and that's because this is how this exam is called ("theory in programming") well he put 3 problems, each of them wanted us to code a C/C++ program
i had in my mind the algorithm for each problem, but i couldnt write it on paper
i think i didn't do well
because i had only 2 sheets of paper, and i needed space for the code, whenever i forgot to declare a variable, i needed to erase the code and rewrite it again, so frustrating
can you please suggest me, any technics, advice etc that would help me learn how to write proper code on paper?
Thanks in advance