// nogood.c -- a program with errors (corrected now)
#include <stdio.h>

int main(void)
{
	int n, n2, n3;
	/* this program has had several errors */
	n = 5;
	n2 = n * n;
	n3 = n2 * n;
	printf("n = %d, n squared = %d, n cubed = %d\n", n, n2, n3);
	return 0;
}