Translate please

Can Anyone translate this for me please to cout and cin form.

printf("%d ", c[i]);

printf("%d ", a[k]);

scanf_s("%d", &a[i]);
Last edited on
Have you read documentation of those functions, i.e. do you know what those function calls do?
http://www.cplusplus.com/reference/cstdio/printf/
https://msdn.microsoft.com/en-us/library/w40768et.aspx

Now that you have studied the printf and scanf_s, you could look at the I/O tutorial:
http://www.cplusplus.com/doc/tutorial/basic_io/
Thank You Very Much ! :)
Topic archived. No new replies allowed.