WHERE ARE THE MARKS?

Description:

Ganapathy working as a professor in ABC college, have to get students three subjects points. so he planned to do one program to implement structure concept. Input 3 3 5 Output 3 3 5 Test Case 1 Input (stdin) 3 3 5 Expected Output 3 3 5 Test Case 2 Input (stdin) 3 3 6 Expected Output 3 3 6

Program :

#include <stdio.h>

struct display

{

  int a,b,c;

}s;

int main()

{

  struct display s;

  scanf("%d%d%d",&s.a,&s.b,&s.c);

  printf("%d %d %d",s.a,s.b,s.c);

 return 0;

}