Saved Bookmarks
| 1. |
Write statement/declaration for the following: (i) A reference to a floating point variable.(ii) To set grant to 10 if speed is more than 68, and to 0 otherwise (usine conditional operator) |
|
Answer» (i) float f,fp; fp=&f; (ii) grant= (speed>68) ? 10:68; |
|