Skip to main content

Problem Statement

Write a C program to accept a name and check if it contains only alphabets (A–Z, a–z). Display an error message if any invalid character is entered.

Solution

Input

Output