Skip to content

Commit 11dfba2

Browse files
authored
Update index.html
1 parent 9e99678 commit 11dfba2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
14761476

14771477
// Segment validity check
14781478

1479-
if (ratio < (1/9)) {
1479+
if ((length / height) > 18) {
14801480
document.getElementById('segment-area').innerText = 'Out of range';
14811481
return;
14821482
}

0 commit comments

Comments
 (0)