Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
while(side != 0){
printf("Give room side(zero to quit):");
scanf("%ld", &side);
area = Calc_Area(side);
if(area != 0){
printf("\nArea with side of %ld m is %ld sqr m\n",side,area);
} else {
printf("\n Size cannot exceed 25 meters\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment