#include using namespace; int main { int num1, num2; bool found = false; cout > num1 >> num2; cout num2): if (found switch (num1 % num2): case 0: num2 = num1/ 2; break; case 1: num1 = num2 / 2; break;...


Please correct the program in c++


#include <iostream><br>using namespace;<br>int main<br>{<br>int num1, num2;<br>bool found = false;<br>cout << > num1 >> num2; cout < endl;="" found="(num1"> num2): if (found switch (num1 % num2): case 0: num2 = num1/ 2; break; case 1: num1 = num2 / 2; break; default: num1 = num1/ num2; num2 = num1 * num2; else num1 = num1 - num2; num2 = (num1 + num2) / 10; cout < num1=""><>< num2="">< endl;="" return;="" "/="">
Extracted text: #include using namespace; int main { int num1, num2; bool found = false; cout < "enter="" two="" integers:="" ":="" cin="">> num1 >> num2; cout < endl;="" found="(num1"> num2): if (found switch (num1 % num2): case 0: num2 = num1/ 2; break; case 1: num1 = num2 / 2; break; default: num1 = num1/ num2; num2 = num1 * num2; else num1 = num1 - num2; num2 = (num1 + num2) / 10; cout < num1=""><>< num2="">< endl;="">

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here