My issue
My code
// Update the '_' in the code below to solve this problem
#include <stdio.h>
int main()
{
int X = 3;
int Y = 4;
int Z = 12;
printf("The animal on the farm is _\n");
X = 3;
Y = 5;
Z = 13;
printf("The animal on the farm is _\n");
X = 3;
Y = 5;
Z = 10;
printf("The animal on the farm is_\n");
X = 3;
Y = 5;
Z = 9;
printf("The animal on the farm is _\n");
return 0;
}
Learning course: C for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone