Wap in java to increase a number by 10
Answers
Answered by
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
Social Sciences,
1 month ago
Math,
1 month ago
Hindi,
2 months ago
Math,
2 months ago
English,
9 months ago