Angles of Polygon
Time Limit: 1 sec
We know that, sum of all the angles in a triangle is 180 degree and sum of all the angles in a rectangle is 360 degree.
Now, what is the sum of all the angles of a polygon which has N sides?
Input contains a single integer N (3≤ N ≤106) per line till the end of file(EOF).
Print a single integer for every line of input, the sum of all the angles of a polygon which has N sides in a separate line.
1st Online Programming Contest 2016 by Outsbook
Problem Setter: Fahim Abrar