Problem
Write a complete program with a class Point that has two int fields. Read two numbers into a point, then print the two fields separated by a space, and on the next line their sum.
Point
int
For the input 3 4:
3 4
3 4 7
Press «Submit» to run your code against the task's test cases — that is what sets your score. «AI review» is an optional second opinion: it reads your code — logic and style, not just the output — and suggests the next step without handing over the answer. It never changes your score.