79612328

Date: 2025-05-08 12:07:27
Score: 1
Natty:
Report link
import java.util.Scanner;

public class Calculator   {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int  num1, num2, result;
        char operator;

        System.out.print("Enter 1 to add numbers: ");
        num1 = input.nextint();
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicholas Ssentongo