#C76. Determine Programming Language
Determine Programming Language
Determine Programming Language
Given an integer representing the year a participant started coding, determine which programming language they should use according to the following rules:
If \( year \leq 2010 \), the output should be "Python".
If \( 2011 \leq year \leq 2020 \), the output should be "JavaScript".
If \( year > 2020 \), the output should be "TypeScript".
Your program should read from stdin and write the result to stdout.
inputFormat
The input consists of a single line containing an integer \( year \) indicating the year the participant started coding.
Example: 2000
outputFormat
The output should be a single string that represents the programming language according to the rules explained above.
Examples: Python
, JavaScript
, or TypeScript
.
2000
Python