Question: Write an assemble code using Irvine library equivalent to the shown c code int main() { int side1, side2, perimeter; printf(Enter the Length of a
Write an assemble code using Irvine library equivalent to the shown c code
int main() { int side1, side2, perimeter; printf("Enter the Length of a rectangle:: "); scanf("%d", &side1); printf("Enter the Width of a rectangle:: "); scanf("%d", &side2); perimeter = side1+side1+side2+side2; printf(" The perimeter is : %d", perimeter); return (0);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
