왜 안되는걸까요

leejunhee Reply 6 years 27 weeks ago
#include <stdio.h> #pragma warning (disable:4996) int main() { float r, l; scanf("%f", &r); scanf("%f", &l); float a, v; a = r * r * 3.14159; v = a * l; a = a * 10; v = v * 10; int c, d; c = a; d = v; a = c; v = d; a = a / 10; v = v / 10; printf("%.1f\n%.1f\n", a, v); } ㅠㅠ
onacloud Reply 6 years 26 weeks ago
축하해요