QBASIC Program to input any string from the user and count and print the total number of consonant letter.
CLS
INPUT "Enter any String : "; s$
c = 0
FOR i = 1 TO LEN(s$)
r$ = MID$(s$, i, 1)
c$ = UCASE$(r$)
INPUT "Enter any String : "; s$
c = 0
FOR i = 1 TO LEN(s$)
r$ = MID$(s$, i, 1)
c$ = UCASE$(r$)