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, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
To fill (copy) a cell across or down, point to the of the cell and drag. top left corner top right corner bottom left corner bottom right corner
Answers: 3
question
Computers and Technology, 24.06.2019 21:30
How is a wan different than a lan? both connect computers, but only wan users don’t need the same operating system. both are peer-to-peer networks, but only a wan requires networking hardware. both network computers, but only a wan can cover larger geographical ranges. both connect computers to the internet, but only wan connects to the cloud.
Answers: 1
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, 22.11.2020 14:00
question
Arts, 22.11.2020 14:00
question
Mathematics, 22.11.2020 14:00
question
Business, 22.11.2020 14:00
question
Social Studies, 22.11.2020 14:00
Questions on the website: 13722361