Computer Science, asked by ppp40, 1 year ago

write a java program to find whether the given character is digit or a letter

Answers

Answered by jashwanth89891
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")
}

QGP: Brother you mixed both C and JAVA languages
QGP: JAVA uses import keyword, and libraries like java.io, java.util, etc
ppp40: yes
Similar questions