7 kyu
Compare 2 digit numbers
328 of 1,686mbicc
Description:
You are given 2 two-digit numbers. You should check if they are similar by comparing their numbers, and return the result in %.
Example:
- compare(13,14)=50%;
- compare(23,22)=50%;
- compare(15,51)=100%;
- compare(12,34)=0%.
Fundamentals
Mathematics
Similar Kata:
Stats:
Created | Feb 20, 2023 |
Published | Feb 20, 2023 |
Warriors Trained | 3459 |
Total Skips | 54 |
Total Code Submissions | 6668 |
Total Times Completed | 1686 |
C++ Completions | 328 |
C Completions | 126 |
Python Completions | 1088 |
C# Completions | 194 |
Total Stars | 32 |
% of votes with a positive feedback rating | 87% of 207 |
Total "Very Satisfied" Votes | 160 |
Total "Somewhat Satisfied" Votes | 40 |
Total "Not Satisfied" Votes | 7 |
Total Rank Assessments | 6 |
Average Assessed Rank | 8 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |