hey guys,

I would like to make a menu like this:

[A] - Addition of binary digits
- Subtraction of binary digits
my option: A

printf("Input upper addend: 1110");
                              printf("Input lower addend: 111");

sample output:

sum is: 11111

...how can I make it like that?

There are a number of ways to do that.

Probably an if-else clause would suffice.