- 1
How to make a program, such that u that is the viewer of my code is asked to place an input.
like the code of capitalize each letter.
11 Antworten
+ 2
Well what language do you want it in?
+ 1
import java.util.Scanner;
Scanner scan = new Scanner(System.in);
String getWord = scan.nextLine();
+ 1
change the input type
String name = scan.nextLine();
int number = scan.nextInt();
notice instead of nextLine() I use nextInt()
0
thank u so much
0
it's what we are here for
- 1
I tried but when writes it in solo learn it won't work. Please help me out
- 1
can u show me an example code.. please. That would a great help
- 1
iin java
- 1
thank u for the code
- 1
but I need one more help. what if I want to input a number.. or anything else