Sum Input Values and Determine Difficulty
This C program reads a number 'n' from the user, then reads 'n' integers, summing them up. If the total sum is not zero, it outputs 'HARD'; otherwise, it outputs 'EASY'. This snippet is useful for understanding basic input/output operations and conditionals in C.Leave a Comment