Answer to Question #142757 in C for Tapiwanashe Andrianna Dzoro

Question #142757
Write a C program that bitwise displays the single-precision-floating-point value 3.14 to the screen.
1
Expert's answer
2020-11-06T09:42:37-0500
#include <stdio.h>

int main() {
    float var;
    var = 3.1415926535;
    printf("%.1f", var);
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS