Page 1 of 1

Convert the following program which performs the arithmetic operations (Add, Multiply, Division and Reminder) on arrays,

Posted: Sat May 14, 2022 3:08 pm
by answerhappygod
Convert The Following Program Which Performs The Arithmetic Operations Add Multiply Division And Reminder On Arrays 1
Convert The Following Program Which Performs The Arithmetic Operations Add Multiply Division And Reminder On Arrays 1 (53.71 KiB) Viewed 33 times
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;