Find any five syntax errors from the followIng program. Write llne number and correct statement In the space provlded below. 1include using namespace std; int main() { const xx-3; int one, two, i;...


Find any five syntax errors from the followIng program.<br>Write llne number and correct statement In the space provlded below.<br>1include <iostream><br>using namespace std;<br>int main() {<br>const xx-3;<br>int one, two, i;<br>bool is_m<br>cout <<> ONE >> two; cout < 4="" 5.="" true;="" %3d="" numbers="" in="">< two=""><>< \n;="" %3d="">< one="">< and="" are:="" while="" (one="">< two="" &&="" one="!" 0)="" is="" m="true;" if="" (one="=" 0="" two="=" 1)="" {="" is_m="" else="" 10="" 11="" %3d="" 12="" 13="" false;="" }="" %3d="" 14="" 15="" 16="" for="" (i="2," i=""><= one="" 2;="" +i)="" %3d="" 17="" if="" (one="" %="" i="=" 0)="" {="" is_m="break;" 18="" 19="" false;="" 20="" 21="" 22="" 23="" 24="" if="" (is_m)="" cout="">< one="">< ";="" print="" the="" result="" 25="" 26="" 27="" 28="" 29="" return="" 0;="" ++one;=""><"end of="" the="" printing="" of=""><><" and="">
Extracted text: Find any five syntax errors from the followIng program. Write llne number and correct statement In the space provlded below. 1include using namespace std; int main() { const xx-3; int one, two, i; bool is_m cout <"enter two="" numbers="" :="" ";="" cin="">> ONE >> two; cout < 4="" 5.="" true;="" %3d="" numbers="" in="">< two=""><>< \n;="" %3d="">< one="">< and="" are:="" while="" (one="">< two="" &&="" one="!" 0)="" is="" m="true;" if="" (one="=" 0="" two="=" 1)="" {="" is_m="" else="" 10="" 11="" %3d="" 12="" 13="" false;="" }="" %3d="" 14="" 15="" 16="" for="" (i="2," i=""><= one="" 2;="" +i)="" %3d="" 17="" if="" (one="" %="" i="=" 0)="" {="" is_m="break;" 18="" 19="" false;="" 20="" 21="" 22="" 23="" 24="" if="" (is_m)="" cout="">< one="">< ";="" print="" the="" result="" 25="" 26="" 27="" 28="" 29="" return="" 0;="" ++one;=""><"end of="" the="" printing="" of=""><><" and="">

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here