initial import
[staff/goc4/2018bti7061.git] / c-1-basics / examples / helloC / helloWorld2.c
1 #include <stdio.h>
2
3 main(){
4
5 printf("Hello, compute the square of a number\n");
6 printf("What number?\n");
7 int number; /* We reserve memory */
8 int number2; /* We reserve memory */
9 scanf("%d", &number); /* We set the value inside memory */
10 printf("The square of %d is %d\n",number,number*number);
11
12 }