Take a string from user and print the following
1)total number of character
Answers
Answered by
0
import java.util.Scanner;
public class scanner{ // Here class is scanner class can be diffrent
public static void main(String[]args){
Scanner ss = new Scanner(System.in);
String cc = ss.nextLine();
System.out.println(cc.length());
}
}
Similar questions
Math,
6 months ago
Math,
6 months ago
Computer Science,
11 months ago
Math,
11 months ago
Chemistry,
1 year ago