Back to Browse

Code Wars C# Coding Challenge 4 kyu: Human Readable Duration Format

465 views
Oct 7, 2022
29:29

Follow along here: https://www.codewars.com/kata/52742f58faf5485cae000b9a/train/csharp Intermediate level C# object oriented programming series. Viewers are provided a number of seconds as input. They must determine how many years, days, hours, minutes, and seconds this is composed of. They should output a string with this data, following specific formatting rules. Time units with no value should be omitted, unit names should be plural when there is more than one, and the final unit should be preceded by "and" instead of a comma. Be sure to handle edge case(s) too. The best way to learn computer programming is by actually writing code. Create a Code Wars account at www.codewars.com/r/3jPbdQ to follow along. No downloads required- you can start coding right away from your favorite browser. Coding challenges can be quite fun too, like puzzles and brain teasers.

Download

1 formats

Video Formats

360pmp443.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Code Wars C# Coding Challenge 4 kyu: Human Readable Duration Format | NatokHD