0
Guy who can help pls
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //taking initial score int initScore = scanner.nextInt(); int scoreTom = initScore; int scoreBob = initScore; System.out.println("Round 1 results:"); //fix System.out.println(scoreTom++); System.out.println(scoreBob--); } }
1 Respuesta
+ 2
Look at lesson 7 again and note the difference between pre- and post-decrement/increment.
You tried post, but you need pre.
Please do not re-post the same question.
https://www.sololearn.com/Discuss/3009092/?ref=app