Duh, its out. Anyone else been playing it? I recently beat the campaign which was a bit disappointing, but the multiplayer is pretty awesome. I've been laddering a lot by myself with with some friends.
wire.108
wire.108
Happy New Year! Yes, the current one, not a previous one; this is a new post, we swear!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
#include <stdio.h>
int main() {
float radius;
int valid;
const float Pi = 3.14159;
do {
printf("Input the radius of a circle: ");
valid = scanf("%f", &radius);
while (getchar() != '\n');
if (valid == 0) {
printf("\nInvalid input. Try again.\n\n");
} else if (valid == 1) {
if (radius == 0) {
printf("\nNo circle can have a radius of 0. Try again.\n\n");
} else if (radius < 0) {
printf("\nNo circle can have a negative radius. Try again.\n\n");
}
}
} while (radius == 0 || valid == 0);
printf("\nThe circumference is %f", Pi * 2 * radius);
printf("\nThe area is %f\n", Pi * radius * radius);
return 1;
}














Page created in 0.050 seconds with 16 queries.