replit does not run my code. i tried everything but it does not seem to work
Welcome to the community @zoelin2 it would be helpful it you posted the replit link so that we can see what might be happening.
Is this the code? https://replit.com/@zoelin2/C?v=1