i am having trouble with this c language code:
char st[2]; printf(\"enter first value:\"); scanf(\"%c\", &st[0]); printf(\"enter second value:\");
I think your problem is the second scanf is receiving the "Enter" key press.