geekycoder2 / NumberInArray.Ts

A TypeScript program that prints ordinal numbers for a range of 1 to 9. The program uses an if-else chain inside a loop to determine the proper ordinal ending for each number. The output displays "1st 2nd 3rd 4th 5th 6th 7th 8th 9th" on separate lines.🥇

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geekycoder2/NumberInArray.Ts Issues

No issues in this repository yet.