Computer Science, asked by somyaditya84, 11 months ago

Take a string from user
1)total number of characters​

Answers

Answered by banothulaxman60
2

Answer:

I can't understand please write questions clearly

Answered by dp17cr7
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