We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f347d commit b513e98Copy full SHA for b513e98
src/Aula_1/Prog2.c
@@ -1,9 +1,11 @@
1
/* Prog2.c */
2
#include <stdio.h> /* para printf() */
3
#include <stdlib.h>/* para system() */
4
+#include <locale.h> /* para setlocale() */
5
int main()
6
{
- printf("Este é o número %d.\n", 5 );
7
- //printf("Este é o número %E.\n", 5000000.1 );
+ setlocale(LC_ALL, "portuguese-brazilian"); /* Configura o idioma portugues */
8
+ printf("Este é o número %d.\n", 5 );
9
+ //printf("Este é o número %E.\n", 5000000.1 );
10
return 0;
11
}
0 commit comments