79716526

Date: 2025-07-27 16:18:39
Score: 2
Natty:
Report link
  1. Instead of scanf("%s",&ask2) use scanf("%c",&ask2) for reading a single line of character.

2. And also Better to use the else block after the exit for handling the wrong input .

3. scanf(" %[^\n]", clip); use this for reading full line along with spaces also

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Divya