0
Write a program that accepts file name as input, check for file extension and print the file format
For example Input: ab.rb Output : Ruby file
6 Answers
0
Not every extension has fixed period
For example .html ,.doc,.py
For example Input: ab.rb Output : Ruby file