Convert the following program which performs the arithmetic operations (Add, Multiply, Division and Reminder) on arrays,
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Convert the following program which performs the arithmetic operations (Add, Multiply, Division and Reminder) on arrays,
Convert the following program which performs the arithmetic operations (Add, Multiply, Division and Reminder) on arrays, to assembly program.|| int maia int size, i, A150), B[50]; int, add 10), muat [10], mod[10]; float sixblol: Ruinte."enter array size: \n"); susant.("%d", &size); Raiate.L"enter elements of Ist array: \n"); Feeli = 0; i < size; i++) { scan.."d", &A); 1 Raiatifl"enter the elements of 2nd array:\n"); Forli = 0; i < size; i ++){ scan.."d", &B); 1 Foxli = 0; i < size; i ++) { add = A + B; wat (1) - A * B; div A / B; mod = A B; 1 Raiatel"\n add\t surt Matt Räxlt Med\n"); Rain. \n"); Feel = 0; i <size; i++) { Reiat.L'ast" , add[]); REINDF.L"%d\t", guaridul); RENDEL"8.2f\t ", div[]); Reint.cd \t", mod[i]); 1 return 0;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!