2 votes 2 votes For $x$ and $y$ are variables as declared below $\textit{double }x=0.005, \: y = – 0.01;$ What is the value of $\text{ceil }(x+y)$, where $\text{ceil }$ is a function to compute ceiling of a number? $1$ $0$ $0.005$ $0.5$ Programming in C nielit2016mar-scientistc programming-in-c + – admin asked Apr 2, 2020 • recategorized Oct 28, 2020 by Krithiga2101 admin 852 views answer comment Share Follow See 1 comment See all 1 1 comment reply vg653 commented Apr 2, 2020 reply Follow Share B is the correct option. 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes Option B x+y = 0.005-0.01 =CEIL(-0.005)=0 Description CEIL(x) rounds the number x up. Examples CEIL(1.3) equals 2 CEIL(-1.6) equals -1 Mohit Kumar 6 answered May 3, 2020 Mohit Kumar 6 comment Share Follow See all 0 reply Please log in or register to add a comment.