What does the 'cripto' algorithm do?
The algorithm receives a word with up to 10 characters.
The algorithm replaces the letters 'y' with 'A' and t...
What does the 'cripto' algorithm do?
The algorithm receives a word with up to 10 characters. The algorithm replaces the letters 'y' with 'A' and the letter 'x' with 'yx'. The algorithm prints the resulting word. a) Only statement 1 is true. b) Only statement 2 is true. c) Only statement 3 is true. d) Statements 1, 2 and 3 are true. e) None of the statements are true.
O algoritmo 'cripto' recebe uma palavra com até 10 caracteres, substitui as letras 'y' por 'A' e a letra 'x' por 'yx' e, em seguida, imprime a palavra resultante. Portanto, a alternativa correta é a letra d) As afirmações 1, 2 e 3 são verdadeiras.
0
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar