write a java program to find whether the given character is digit or a letter
Answers
Answered by
1
#include(iostream.h)
#include (conio.h)
void main( )
{
public static void main(String args[ ])
char ab;
System.out.println (enter value)
if (a<=1 && 9)
System.out.println("digit")
else
System.out.println("letter")
}
#include (conio.h)
void main( )
{
public static void main(String args[ ])
char ab;
System.out.println (enter value)
if (a<=1 && 9)
System.out.println("digit")
else
System.out.println("letter")
}
QGP:
Brother you mixed both C and JAVA languages
Similar questions
India Languages,
8 months ago
Computer Science,
8 months ago
Math,
1 year ago
Biology,
1 year ago
Chemistry,
1 year ago