עזרה ב-C
שלום, כתבתי קוד ורציתי לדעת למה הוא מדלג על הקלט של b ?
שלום, כתבתי קוד ורציתי לדעת למה הוא מדלג על הקלט של b ?
#include <stdio.h> void main() { char a,b,c; printf("What is the Number of the Players?: "); scanf("%c",&a); printf("\nDo Yous want to play with the computer? Y/N: "); scanf("%c",&b); printf("\nDo You want to Use the \"Remainder\"? Y/N: "); scanf("%c",&c); printf("%c,%c,%c",a,b,c); }
משהו מוזר.... תודה.