c++ convert to assembly language
Code Example - c++ convert to assembly language
main()
{
double num1, num2, quotient;
cout << "Enter a number: ";
cin >> num1;
cout << "Enter another number: ";
cin >> num2;
if (num2 == 0)
{
cout << "Division by zero is not possible.\n";
cout << "Please run the program again ";
cout << "and enter a number besides zeroo.\n";
}
else
{
quotient = num1/num2;
cout << "The quotient of " << num1 ;
cout << " divided by " << num2 << " is ";
cout << quotient << endl;