[Solved] Name cannot be display [closed]
I have modified your code. Please see the snipet code below #include <stdio.h> #include <conio.h> #define MAX 25 char welcomeMsg[]= “Please enter your name without ‘*’ or # ” ; char errorMsg[]= “\nError, please re-type your name. “; void main(void) { int j; char input; char name[MAX]; j=0; puts(welcomeMsg); do { input = getche(); if(input … Read more