0
In java give the input :LOKESH KUMAR and print the output like this "LOKESH KUMAR" HOW TO GET THIS
How do get this output
8 ответов
+ 5
First Show your attempts!
+ 2
Hello , take a look at this
https://www.sololearn.com/learn/Java/2220/?ref=app
You could have google it as well.
+ 2
a = input("enter string :")
b = (a.lower())
print(f'"{b}"')
i hope this may help you !
+ 2
It's correct! Just do Same with taking input!
+ 1
Import java.util.Scanner;
Class program{
Public static void main(String [] args){
Scanner input =new Scanner(System.in);
String a=input.nextLine();
While(a!="LOKESH KUMAR"){
a=input.nextLine();
}
System.out.println(a);
}
}
+ 1
System.out.println("\"lokesh kumar\"");
This is working
+ 1
Yeah .
0
How to get the output ="lokesh kumar"