View Single Post
Old Jan 27th, 2008, 6:54 AM   #3
Salem
Programmer
 
Join Date: Nov 2007
Posts: 33
Rep Power: 0 Salem is on a distinguished road
Re: New to c programming...don't know where to start

- print the prompts for the questions you want to ask
- read the responses from the user
- print the responses back to the user.

Ensuring that you can perform the initial "Q&A" session with the user, and can read their inputs correctly is a useful first step.

As for the calculations, you need a math reference which explains vector addition and an electronics reference which explains how resistance works. Immediately, a further question then becomes as to how the 3 resistors are wired (in series or in parallel).
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Salem is offline   Reply With Quote