My issue
include <stdio.h>
int main(void) {
printf(“area of a rectangle is %d \n”, 1113);
printf(“perimetre of a rectangle is %d”, (2(11+13)));
return 0;
}
why this code is shown as wrong answer
My code
#include <stdio.h>
int main(void) {
printf("area of a rectangle is %d \n", 11*13);
printf("perimetre of a rectangle is %d", (2*(11+13)));
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone