Given a year the task is that we will find the century in the given year. The first century start from 1 to 100 and the second century start from 101 to 200 and so on .
Input : year = 1970 Output : 20 century Input : year = 1800 Output : 18 century
- Program to check if a given year is leap year
- Python program to calculate age in year
- Find the next identical calendar year
- Print calendar for a given year in C++
- Why is programming important for first year or school students?
- Program to find sum of 1 + x/2! + x^2/3! +...+x^n/(n+1)!
- Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +.......+ n/n!
- Program to find LCM of 2 numbers without using GCD
- Program to find the sum of a Series (1*1) + (2*2) + (3*3) + (4*4) + (5*5) + ... + (n*n)
- Program to find sum of series 1 + 1/2 + 1/3 + 1/4 + .. + 1/n
- Program to find GCD or HCF of two numbers
- Program to find LCM of two numbers
- Program to find nth term of the series 1 4 15 24 45 60 92
- Program to find the Nth term of the series 0, 14, 40, 78, 124, ...
- Program to find the Nth term of the series 3, 20, 63, 144, 230, ……
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : vt_m