Question 4
a) Write the structure of if statement.
b) Rewrite the following using ternary operator:
if(bill>10000)
discount-bill 10.0/100;
else
discount-bill*5.0/100;
c) State the number of bytes occupied by int and char datatype.
d) What you meant by Coercion?
e) Which of the following are valid comments?
i) /* comment/
ii) /* comment
iii) //comment
iv) /comment/
Answers
Answered by
0
Answer:
It should be E-/comment/
Similar questions