Question: 1.Write a C++ function to transform a number from base 10 to base 2. Add a main function that reads a number, calls your function
1.Write a C++ function to transform a number from base 10 to base 2.
Add a main function that reads a number, calls your function and writes out the result.
2.Write a C++ program to perform arithmetic on binary numbers. ? Write one or more C++ functions that perform either add, subtract, left shift or right right and insert them into the file arithmetic.cpp. Add a main function that calls your functions and writes out the results.?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
