Seudónimo Seudónimo
  • 19-08-2020
  • Computers and Technology
contestada

Difference between switch case and if else statement.​

Respuesta :

srcnagandren
srcnagandren srcnagandren
  • 05-09-2020

Answer:

SWITCH CASE:

☆ STATEMENT WILL BE EXECUTED IS DECIDED BY USER.

☆ SWITCH STATEMENT EVALUATES ONLY CHARACTER 《OR 》INTEGER VALUE.

☆ IT USING SINGLE EXPRESSION FOR MULTIPLE CHOICES.

IF - ELSE STATEMENT.

☆ STATEMENT WILL BE EXECUTED DEPEND UPON THE OUTPUT OF THE EXPRESSION INSIDE.

☆ IF THE STATEMENT EVALUATES INTEGER, CHARACTER, POINTER《 OR 》FLOATING- POINT TYPE 《 OR 》BOOLEAN TYPE.

☆ IF USING MULTIPLE STATEMENT FOR MULTIPLE CHOICES.

HOPE IT HELP....

Answer Link

Otras preguntas

Please answer the question from the attachment.
When Mr. Darcy is writing a letter early in the novel, Miss Bingley gives him constant attention, commenting "on his handwriting, or on the evenness of his line
Cual es su critica de capitalismo
Which symbol makes the sentence true? − 7 over 8 square − 14 over 16 A. < B. > C. =
If Nellie Newton pushes an object with twice the force for twice the distance, she does A. twice the work. B. the same work. C. four times the work.
8z=112 solve the equation
Lines that form right angles at the point where they cross
which expression is equivalent to √11+√64-2√44 A. 8-4√44 B. 5√3-4√11 C. 8-3√11 D. 13√11
$450+4%=$???????????????
How does valence electron pooling explain why metals can be hammered into a sheet?