Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Write a program to check whether a character is an alphabet.

Easy

Problem Statement

Write a program to check whether a character is an alphabet.

Sample Input

ch = 'A'

Sample Output

A is an Alphabet

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
#include <iostream> int main() { char ch = 'A'; // Logic to check if ch is an alphabet return 0; }
Log in or sign up to run or submit your code.Log inSign up
Input
ch = 'A'
Expected Output
A is an Alphabet