Pie

5

1 votes
Problem

enter image description here

Analyze the figure above. A represents the left part of the pie, B represents the right part of the pie, and C represents the lower part of the pie.


TASK:
If there are values for A and B, write a program that will display the value of C.


INPUT:
A, B


OUTPUT:
C

(NOTE: A, B, and C are all integers. If C would not be an integer, just display, “C IS NOT AN INTEGER.”. For the wrong inputs, if there are any, display “ERROR!” and end the program.)

Time Limit: 2
Memory Limit: 256
Source Limit:
Editor Image

?