Computer Science, asked by sanvi75, 1 year ago

underline the error (if any) in the following code and rewrite the correct code(consider header file (s) and getch() in each code.




Attachments:

Answers

Answered by Anonymous
2

Error:-

cout>>z;

correct code:-

void main()

{

int p=20,s=10;

int z=p*s;

cout<<z;

}

Similar questions