# define P
3.14Int main (void)
{
Double r;
Printf (" Input "r" : ");
Scanf_s (" % 1 f ", & amp; R);
Printf (" circumference=% f \ n ", 2 * P * r);
Printf (" area=\ n % f ", r * r * P).
return 0;
}
CodePudding user response:
# include & lt; Stdio. H>
# define P
3.14Int main (void)
{
Double r;
Printf (" Input "r" : ");
//scanf_s (" % 1 f ", & amp; R);
Lf scanf_s (" % ", & amp; R);
Printf (" circumference=% f \ n ", 2 * P * r);
Printf (" area=\ n % f ", r * r * P).
return 0;
}
Is not 1 l (a), lf replace % % 1 f