#include int main () { //21051XYZT This is your student number, Put real student //number instead of X,Y,Z,T numbers int a[2] = {X, Y}; int b[2] = {Z, T}; int temp = a[0]; tf (b[1] 응2==0) { a [0] =...


Explain the code shown below according to comment line & write exact sceen output


#include <stdio.h><br>int main () {<br>//21051XYZT This is your student number, Put real student<br>//number instead of X,Y,Z,T numbers<br>int a[2] = {X, Y};<br>int b[2] = {Z, T};<br>int temp = a[0];<br>tf (b[1] 응2==0)<br>{<br>a [0] = b[0]+ (b[1]%3);<br>a[1]= (a[0]*3)%10;<br>}<br>else{<br>a [0]=b[0]+ (b [1] 응4) ;<br>a[1]= (a[0] *7) 응10;<br>b[0] = temp;<br>printf (

Extracted text: #include int main () { //21051XYZT This is your student number, Put real student //number instead of X,Y,Z,T numbers int a[2] = {X, Y}; int b[2] = {Z, T}; int temp = a[0]; tf (b[1] 응2==0) { a [0] = b[0]+ (b[1]%3); a[1]= (a[0]*3)%10; } else{ a [0]=b[0]+ (b [1] 응4) ; a[1]= (a[0] *7) 응10; b[0] = temp; printf ("%d, %d, \n%d, %d \n", a[0], a[1], b[0], b[1]); return 0; }

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here