Answer to Question #23805 in C++ for janna
program that performs arithmetic multiplication of hexadecimal in c++
1
2013-02-06T07:51:07-0500
#include <conio.h>
#include <iostream>
using namespace std;
void main()
{
int a;
int b;
cout << "Enter first hexadecimal number: ";
cin >> hex >> a;
cout << "Enter second hexadecimal number: ";
cin >> hex >> b;
cout << "The product is: " << hex << a * b;
_getch();
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment