66 982
Assignments Done
99,2%
Successfully Done
In November 2018

Answer to Question #23805 in C++ for janna

Question #23805
program that performs arithmetic multiplication of hexadecimal in c++
Expert's answer
#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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions