Computer Science, asked by allstar3, 2 months ago

Wap in java to increase a number by 10​

Answers

Answered by Amido23
0

import java.util.*;

public class helloWorld {

public static void main(String args[]){

       Scanner in = new Scanner(System.in);

       System.out.println("enter a number: ");

       int j = in.nextInt();

       j += 100;

       System.out.println(j);

}

}

Similar questions