Given N find sum of even numbers from 1 to N

Please tell whether it is right or not.!

IMG_20210104_130201-min|374x500