Question: STB 2 4 3 0 3 Computer Programming March 2 0 2 4 1 2 . Identify the error ( s ) , in each

STB24303 Computer Programming
March 2024
12. Identify the error(s), in each of the following program code. Rewrite it using the correct syntax.
a)
int n,y, ans;
x=90;
scanf(??%d,??&y);
ans =x+y;
prinf("The ans is %d, ans);
jot n,y, ansi
x=90;
scanf (%d'',&y);
ans=x+y;
prinf ("The ans is %d, ans);
b)
)
(,x)=>(10
 STB24303 Computer Programming March 2024 12. Identify the error(s), in each

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!