Help getting started; conveting binary to decimals

I am completely new at this and my professor didn't really explain how to start a problem like this. A little hel would be greatly appreciated.

Assignment: Numbers can be represented in different bases. Your assignment is to translate binary numbers into the equivalent decimal number. You must follow the requirements to solve this problem (i.e., there are many different solutions and I am requiring one in particular).

1. The user is to enter a four digit binary number that you are to place into a variable of type integer.
2. Determine (using division and modulus) whether the each digit is a one or a zero.
3. A one as the first digit, indicates the number is negative; a zero -- the number is positive.
4. Create nicely formatted output that includes your name, the input value, and the result.
As always, your program should be structured and follow the grading criteria for the course. Once the program is working, run the program on the input below.

0011
1000
1111
0000
0111
and sorry about my spelling, I was in a rush.
converting*, not conveting
help*, not hel

also, no information on this is in my book.
can someone please help. Im getting really stressed out because I can't even figure out how to start this. Whenever I try to look up examples, a bunch of things are in the code my teacher never went over.
Topic archived. No new replies allowed.