MahmudulMaruf

Code · Faith · Curiosity

Blog Post

Beeecrowd- 2058 - Triangles and Regular Polygons

cpp �� 2023-07-11 22:38:20

cpp
Problem: 2058 - Triangles and Regular Polygons

Solution:
 #include <iostream>
using namespace std; 
int main() { 
   int n; 
   cin>>n; 
   cout<<n-2<<endl;
return 0;
}
Output Samples
InputOutput
3 1
4 2
5 3

Post Visited: 63 times

Categories: cpp

0 Comments

    No comments yet. Be the first to comment!

Leave a comment

Captcha