C Programming Code Examples C > Miscellaneous Code Examples C Program to Demonstrates binary expressions using floating-point arithmetic C Program to Demonstrates binary expressions using floating-point arithmetic #include<stdio.h> int main() { /* Local Definitions */ float x = 23.0; float y = 8.0; /*Statements*/ printf("%f + %f = %f\n", x, y, x + y); printf("%f - %f = %f\n", x, y, x - y); printf("%f * %f = %f\n", x, y, x * y); printf("%f / %f = %f\n", x, y, x / y); return (0); }