Answers for "ceil of 3.5"

4

ceil and floor

Examples of Floor:
=====================
Input : 2.5
Output : 2

Input : -2.1
Output : -3

Input : 2.9
Output : 2

===============================

Examples of Ceil:
=====================
Input : 2.5
Output : 3

Input : -2.1
Output : -2

Input : 2.9
Output : 3
Posted by: Guest on November-18-2020

Browse Popular Code Answers by Language