English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Does anyone have any tips for how to solve logic problems with C++? I'm having some problems with loops. Any place where I could find practice problems would be great.

2007-03-21 15:54:10 · 2 answers · asked by Froggiesmiles 3 in Computers & Internet Programming & Design

2 answers

The best way to work out a logic problem is to first figure out how you'd design a general procedure to solve it, without worrying about the details of programming it. Then, pseudo-code that general algorithm, creating a rough outline of the programming steps needed. Then, work out the coding in C++.

2007-03-21 16:57:55 · answer #1 · answered by Flyboy 6 · 0 0

First .....understand the program....analyze the program....write the logic of the program..... write algorithm of the solution..... then write program... practice it .... you will improve uvr logic..

2007-03-22 07:56:35 · answer #2 · answered by Rishi 3 · 0 0

fedest.com, questions and answers