Skip to content

Zipcoder/ZCW-Interview-Problem6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Problem 6 Boot Camp Time

Given a time given as a String in numerical format, convert that value into its military time phrase.

Complete in Java

Provide Unit Testing

Example 1 Input

1:30pm 

Example 1 Output

Thirteen Hundred and Thirty Hours

Example 2 Input

1:30am

Example 2 Output

Zero One Hundred and Thirty Hours

Example 3 Input

2:22pm

Example 3 Output

Fourteen Hundred and Twenty Two Hours

Example 4 Input

2:11am

Example 4 Output

Zero Two Hundred and Eleven Hours

Example 5 Input

10:02am

Example 5 Output

Ten Hundred Zero Two Hours

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages