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

What line of longitude runs near pikes pear?
If someone told you that the nominal gdp increased by 4% in 2004 explain why you would need two additional pieces of information to conclude that the standard o
What is one way that lobbyists help lawmakers?
What should you do when you see questions about a text in this course?
Equation for elasticity
The concentration of calcium in a cell is 3%. the concentration of calcium in the surrounding fluid is 1%. how could the cell obtain more calcium?
Which relationship occurs when organisms need the same resource that is in limited Supply
The next number in the series 2, 5, 11, 20, 32, 47, is:
6. Why was the Tet Offensive considered the turning point in the Vietnam War? A. It convinced Americans that the war was winnable. B. It convince
the earths most important nonrenewable energy source is ____.