#include <stdio.h>
int main(void) /* print i and i/2 with fractions */
{
int i;
for (i = 1; i <= 50; ++i)
printf("%d / 2 is: %f/n", i, (float)i / 2);
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/266744.html