13 lines
293 B
C
13 lines
293 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int main(int argc, const char *argv[])
|
||
|
{
|
||
|
// somewhere in this program is a mistake
|
||
|
float pi = 3.14159265359f;
|
||
|
|
||
|
float RadiansOfCircle = pi+++pi;
|
||
|
float DegreesOfCircle = RadiansOfCircle*(180.0f/pi);
|
||
|
|
||
|
printf("A circle has %f degrees", DegreesOfCircle);
|
||
|
}
|