mirror of
https://gitlab.com/blau_araujo/cblc.git
synced 2025-05-10 10:36:37 -03:00
21 lines
291 B
C
21 lines
291 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
/* Protótipo da função x10 */
|
||
|
int x10(int num);
|
||
|
|
||
|
int main(void) {
|
||
|
int num;
|
||
|
|
||
|
num = 5;
|
||
|
|
||
|
printf("%d x 10 = %d\n", num, num * 10);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
/* Definição/implementação da função x10 */
|
||
|
int x10(int num) {
|
||
|
return 10 * num;
|
||
|
}
|