Help me in solving CPRACREARR1 problem

My issue

What’s wrong in my code, writing the equation of c, before scanf should not effect the code write

Learning course: Practice C
Problem Link: Rearrange Code Practice Problem in C - CodeChef

@s46896165
this will be the correct rearrangement

#include <stdio.h>
int main() {
    int a,b,c;
    scanf("%d", &a);
    scanf("%d", &b);
    c = a + b;
    printf("%d", c);
    return 0;
}