Retired

Convert Improper Fraction to Mixed Number (retired)

292 of 497Belax8

Description:

Convert Improper Fraction to Mixed Number

You will need to convert an improper fraction to a mixed number. For example:

getMixedNum('18/11'); // Should return '1 7/11'
getMixedNum('13/5'); // Should return '2 3/5'
getMixedNum('75/10'); // Should return '7 5/10'
get_mixed_num('18/11') # Should return '1 7/11'
get_mixed_num('13/5') # Should return '2 3/5'
get_mixed_num('75/10') # Should return '7 5/10'

NOTE: All fractions will be greater than 0.

Fundamentals
Strings
Mathematics
Algorithms

More By Author:

Check out these other kata created by Belax8

Stats:

CreatedDec 9, 2016
Warriors Trained698
Total Skips8
Total Code Submissions1035
Total Times Completed497
JavaScript Completions226
Python Completions292
Total Stars9
% of votes with a positive feedback rating86% of 151
Total "Very Satisfied" Votes113
Total "Somewhat Satisfied" Votes33
Total "Not Satisfied" Votes5
Total Rank Assessments7
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Belax8 Avatar
  • suic Avatar
Ad