Contact: aviboots(AT)netvision.net.il
42,144 questions
54,850 answers
573 users
#include <stdio.h> int main() { double x = 47, y = 220; double percent = (x / y) * 100.0; printf("%.0f is %.4f%% of %.0f\n", x, percent, y); return 0; } /* run: 47 is 21.3636% of 220 */