📜  数字浮点除法的 C 程序 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:35.581000             🧑  作者: Mango

代码示例1
#include 

void main() {
    int a;
    float b, c, d;
    a = 750;
    b = a / 350;
    c = 750;
    d = c / 350;
    printf("%.2f %.2f", b, d);
    // output: 2.00 2.14
  
}