Mega Code Archive

 
Categories / C / Code Snippets
 

Output float Result of the divide

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