Hello Guys,

Can anyone help out on how to take in 3 character input for execution in a
program...!

                    *printf("Enter the type of bread you want to make: \n");
                scanf("%c", &type);

                printf("Enter D if the bread size is double else enter N:
\n");
                scanf("%c", &size);

                printf("Enter M if manual baking else enter A: \n");
                scanf("%c", &baking_type);*

The result of the above is>

Enter the type of bread you want to make: W     *Pressing Enter, this
brought in *

Enter D if the bread size is double else enter N: Enter M if manual baking
else enter A: *at the same time without prompting for the second.
**
*I will appreciate your quick response.

Oludayo!


[Non-text portions of this message have been removed]

Reply via email to