3. Create three address statements/codes for fragments following programs: int m, h, x; m = 0 ; h = 10; do { m = m + 1;
Posted: Mon Jun 06, 2022 6:16 pm
3. Create three address statements/codes for fragments
following programs:
int m, h, x;
m = 0 ; h = 10;
do { m = m + 1;
if (h%2 == 0) m = h + 2;
else
h = h + 4;
} while (m <= h);
x = h;
following programs:
int m, h, x;
m = 0 ; h = 10;
do { m = m + 1;
if (h%2 == 0) m = h + 2;
else
h = h + 4;
} while (m <= h);
x = h;