Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_29c4fad9026d9c060dadfb8031367267, O_RDWR) failed: No such file or directory (2) in /home/snscourseware/public_html/ct.snscourseware.org/assignment.php on line 2

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php56) in /home/snscourseware/public_html/ct.snscourseware.org/assignment.php on line 2
Connected successfully
Warning: Undefined variable $hostname in /home/snscourseware/public_html/ct.snscourseware.org/assignment.php on line 18
Resource Link || SNS Courseware
Subject Details
Dept     : CSE
Sem      : 3
Regul    : 2023
Faculty : V.SAVITHA
phone  : NIL
E-mail  : savicse@gmail.com
179
Page views
11
Files
1
Videos
1
R.Links

Icon
Assignments

Due Date Is Over
Due Date: 13-09-2024
Control structures
Write a Java program that requires the user to enter a single character from the alphabet. Print Vowel or Consonant, depending on user input. If the user input is not a letter (between a and z or A and Z), or is a string of length > 1, print an error message. Test Data Input an alphabet: p Expected Output : Input letter is Consonant