Commit 05295287 authored by Alan Marchiori's avatar Alan Marchiori
Browse files

initial add

parent fe61bee4
/* nogood.c -- a program with errors
* Stephen Prata - C Primer Plus
*/
#include <stdio.h>
int main(void)
(
int n, int n2, int n3;
/* this program has several errors
n = 5;
n2 = n * n;
n3 = n2 * n2;
printf("n = %d, n squared = %d, n cubed = %d\n", n, n2, n3)
return 0;
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment