Mega Code Archive

 
Categories / C / Language Basics
 

Output float

#include <stdio.h> float result;  /* Result of the divide */ int main() {     result = 7.0 / 22.0;     printf("The result is %f\n", result);     return (0); }