subject

Analise o código a seguir: #include main() { int n; printf("\n Digite um número: "); scanf("%d", &n); switch(n) { case 1: printf("A"); break; case 3: printf("B"); case 4: printf("C"); break; default: printf("*"); case 5: printf("D"); } } I – Se a opção escolhida for 1, será impresso na tela a letra "A". II – Se a opção escolhida for 2, será impresso na tela a letra "*" e "D". III – Se a opção escolhida for 3, será impresso na tela a letra "B" e "C". IV – Se a opção escolhida for 4, será impresso na tela a letra "C", "*" e"D". É correto o que se afirma em: lternativas Alternativa 1: II, apenas. Alternativa 2: III, apenas. Alternativa 3: I e II, apenas. Alternativa 4: I, II e III, apenas. Alternativa 5: I, II, III e IV.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If chris has a car liability insurance, what damage would he be covered for
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: river’2008.print.
Answers: 3
question
Computers and Technology, 24.06.2019 18:50
Which style did jack use on the vocabulary words in reports?
Answers: 2
You know the right answer?
Analise o código a seguir: #include main() { int n; printf("\n Digite um número: "); scanf("%d", &am...
Questions
question
Mathematics, 07.01.2021 18:20
question
Mathematics, 07.01.2021 18:20
Questions on the website: 13722360