plz write the progeam using string functions for class X
Attachments:
Answers
Answered by
2
import java.scanner.*;
class string
{
public static void main (String args[])
{
Scanner SC =new Scanner(System.in);
String s;
System.out.println("Enter a character") ;
s=SC.next();
if(Character.isUpperCase())
{
System.out.println("The character is in upper case") ;
}
else
{
System.out.println("The character is in lower case") ;
}
if(Character.isDigit(c))
{
System.out.println("The character is digit") ;
}
else if(Character.isLetter())
{
}
else if(Character.isWhiteSpace())
{
}
else
{
System.out.println("The character is a special character") ;
}
}
}
class string
{
public static void main (String args[])
{
Scanner SC =new Scanner(System.in);
String s;
System.out.println("Enter a character") ;
s=SC.next();
if(Character.isUpperCase())
{
System.out.println("The character is in upper case") ;
}
else
{
System.out.println("The character is in lower case") ;
}
if(Character.isDigit(c))
{
System.out.println("The character is digit") ;
}
else if(Character.isLetter())
{
}
else if(Character.isWhiteSpace())
{
}
else
{
System.out.println("The character is a special character") ;
}
}
}
alishakhan:
thank u so much
Answered by
2
Answer:
Cytoplasm is a thick solution that fills each cell and is enclosed by the cell membrane. It is mainly composed of water, salts, and proteins. In eukaryotic cells, the cytoplasm includes all of the material inside the cell and outside of the nucleus.
Similar questions