Hello, I have never done C++ before and I am having trouble writing a program in lab. This is due pretty soon and I really need help. Can someone write a program for me. It would really help me understand what I am learning and will save my lab grade. Please help!
Write a C++ application program to accept a signed decimal integer as input and output the equivalent 2s complement version in 16-bit binary. Include a space between every four bits in the output string. The input will only be processed by the application if it falls in the valid range that can be represented in 2s complement format with 16 bits. The range of a decimal number from - to + is -32768 to 32767. This is literally do in a hour!!!