Files
information-processing-1_5t…/programs/p25/main.c

15 lines
239 B
C

#include <stdio.h>
int main(void) {
int a, b;
printf("Integer a: ");
scanf("%d", &a);
printf("Integer b: ");
scanf("%d", &b);
printf("Value of a is %f%% of b.\n", (double)a / (double)b * 100.0);
return 0;
}