Question: please write it in c++ language Write a program that reads a number from a file located at: c:temp input.txt. The file consists of unlimited

please write it in c++ language
Write a program that reads a number from a file located at: "c:\temp input.txt". The file consists of unlimited input commands in this format: A letter indicating input number system A value then, have the program convert that input to "all taught" other formats. Example of input (no spaces in put file, each value is on a separate row): B 101 H A D 20 Your program should read that data (from c:\temp\input.txt) and should output: Binary: 101 Decimal: 5 Hex: 5 Binary: 1010 Decimal: 10 Hex: A Binary: 10100 Decimal 20 Hex: 14 Pay attention to the following: Note that your program should only work with numbers less than 33. So I will only test your code with numbers less than 33 (so 32 and less). Input file could contain a lot of commandumbers, so read the file until you get to the end! I could run it against 10 numbers, or 100 numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
