Skip to content

Commit 910fd1d

Browse files
authored
Update index.html
1 parent 11dfba2 commit 910fd1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

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

14771477
// Segment validity check
14781478

1479-
if ((length / height) > 18) {
1480-
document.getElementById('segment-area').innerText = 'Out of range';
1479+
if ((length / height) < 18) {
1480+
document.getElementById('segment-area').innerText = 'The ratio is out of range';
14811481
return;
14821482
}
14831483

0 commit comments

Comments
 (0)