7 kyu

Find the area of the rectangle!

910 of 2,121iamchingel

Description:

Find the area of a rectangle when provided with one diagonal and one side of the rectangle. If the input diagonal is less than or equal to the length of the side, return "Not a rectangle". If the resultant area has decimals round it to two places.

This kata is meant for beginners. Rank and upvote to bring it out of beta!

Fundamentals
Mathematics

Stats:

CreatedOct 21, 2016
PublishedOct 21, 2016
Warriors Trained3407
Total Skips97
Total Code Submissions7409
Total Times Completed2121
JavaScript Completions910
PHP Completions185
Python Completions1028
CoffeeScript Completions14
Ruby Completions85
Total Stars32
% of votes with a positive feedback rating87% of 468
Total "Very Satisfied" Votes364
Total "Somewhat Satisfied" Votes90
Total "Not Satisfied" Votes14
Total Rank Assessments8
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • iamchingel Avatar
  • Javatlacati Avatar
  • myjinxin2015 Avatar
  • donaldsebleung Avatar
  • albertogcmr Avatar
  • user8436785 Avatar
Ad