I have to write code that outputs the number of upper, lowercase digits and punctuation in a string but am having trouble with the asciival command.this is what I have so far but I recieve an error message about the use of my asciival command.an
InputBox input;
input= new InputBox();
input.setPrompt("enter an binary number");
String stringa;
int length;
length=0;
stringa= input.readString();
System.out.print("The total number of Charectures Is:");
System.out.print(stringa.length());
char letter;
int upper;
upper=0;
int increment;
increment=0;
letter=stringa.charAt(increment);
if (asciival(letter)>=65&&asciival(letter)<=90)
upper++;
increment++;
asciival();