// By default what '/' is doing is a simple euclidian division
// (The remainder is calculated with modulo '%')
// Casting both numbers to float will get you a nice decimal
float f = (float)a / (float)b
#include <stdio.h>
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
}