Take a string from user
1)total number of characters
Answers
Answered by
2
Answer:
I can't understand please write questions clearly
Answered by
1
Answer:
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());
}
}
Explanation:
Similar questions