#include <stdio.h>
#define length 10
#define width 5
#define newline '\n'
Int main()
{
Int area;
area = length * width;
Printf("value of area : %d", area);
Printf("%c", newline);
Return 0;
}
What does %d and %c does? Which role do they have?
http://www.cplusplus.com/reference/cstdio/printf/ Check the table that is listed there
Обсуждают сегодня