Computer Science, asked by rajkushagra002, 8 months ago

write a program to input a number ,and print it back after adding 50 to it​

Answers

Answered by hoangmustang
1

Answer:

import java.util.*;

public class add50{

public static void main(String[]args){

Scanner input = new Scanner(System.in);

int a = input.nextInt();

System.out.print(a+50);

}

}

Explanation:

Similar questions