HTML & JS
l= eval(input())
b= eval(input())
area = l*b
peri = 2*(l+b)
if area > peri:
    print('Area',area,end= '\n')
if area < peri:
    print('Peri',peri,end='\n')
if area==peri:
    print('Eq',peri,end='\n')

Generated URL:

Output:

Peri 16
Report Bug