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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:00, bankscorneliuso39
Fast sportcars the top speeds of sportscars, given in miles per hour, are: 155 mph bmw m5 217 mph lamborghini aventador spyder 205 mph ferrari 488 205 mph nissan gtr 197 mph chevrolet corvette stingray zr1 258 mph bugatti veyron supersport 195 mph dodge viper 270 mph hennessey venom 155 mph bmw m3 195 mph mercedes sl given: topspeeds=[155; 217; 205; 205; 197; 258; 195; 270; 155; 195]; carnames=string(["bmw m5" "lamborghini aventador spyder" "ferrari 488" "nissan gtr" "chevrolet corvette stingray zr1" "bugatti veyron supersport" "dodge viper" "hennessey venom" "bmw m3" "mercedes sl"]); the variable is a rectangular array. write a function called selectcars to identify cars with the top speed within a given range, and display the identified names. the selected cars speed will be in a range given by lowerbound < speed < upperbound. inputs to the function selectcars are: a column array os all car top speeds named topspeeds, the corresponding chara
Answers: 2
image
Computers and Technology, 22.06.2019 11:00, Yamari000
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
image
Computers and Technology, 22.06.2019 19:00, alyssashae1818
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, jackie0833
Which option allows you to view slides on the full computer screen?
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 in other subjects:

Konu
Mathematics, 24.04.2020 18:18
Konu
English, 24.04.2020 18:18