What do you want to save?
Add Code snippet
New code examples
-
C 2021-11-13 08:30:19
printf("%5.1f\n", x);
#include<stdio.h> int main() { float a=3.15529; printf("%2.1f\n", a); return 0; } [A]. 3.00 [B]. 3.15 [C]. 3.2 @ [D]. 3 Answer: Option C Explanation: float a=3.15529; The variable a is declared as an float data type and i... Add solution