Created
August 25, 2020 14:20
-
-
Save ampulhetadosaber/05723c7abdbe5f4904c57e3cea392c6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char letra1, letra2; // Declarando uma variável do tipo char | |
letra2 = 'A'; // Atribuindo o caractere 'A' | |
cin << letra1; // Lendo uma variável do tipo char | |
cout << letra1 << " " << letra2; // Imprimindo duas variáveis do tipo char |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment