- 1
#include<stdio.h> int main() { float i; double j; i=22/7; j=22/7; printf("%f\n%.2f", i,j); return 0; }
Can anyone help me to get the accurate output value after decimal of the code
1 ответ
0
Also use %lf for the second argument for printf() <j>, it's of double type.