Adiconado o exemplo x10const.c
This commit is contained in:
parent
3d0993cd73
commit
0692f7f729
1 changed files with 10 additions and 0 deletions
10
aulas/02/x10const.c
Normal file
10
aulas/02/x10const.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#define MULT 10
|
||||
|
||||
int main(void){
|
||||
int num =5;
|
||||
|
||||
printf("%d x 10 = %d\n", num, num * MULT);
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue