Skip to content
Sign upLog in
#WEEKLY challenge 14
Profile icon

So I made the unit converter required. Initially I was going to make the converter universal (supporting quantity, length, etc.), but there was a glitch that would automatically convert any given number to only micronits, disregarding you requested unit, so that wouldn't be very useful. So then I decided to make one with length, and this worked.
Feedback is appreciated and so are upvotes :)
Hope you find it helpful

You are viewing a single comment. View All
Profile icon

I did type in a supported unit.

For the first input, I enter 5 for the amount, second input, I enter 2 for km. Third input, I enter mm which is a supported unit as per your program.