#include <stdio.h>

int main() {
    float x,y,ans;
    x = 10;
    y = 3;
    ans = x/y;
    printf("x / y =%f\n",ans);
    ans = x%y;
    printf("x %% y =%f\n",ans);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: