WRITE IN C++: in switch case which requires the user to enter character that determines that it is a CUBE OR SQUARE. Whenever the user enters ‘C’ = cube and ‘S’ = square.
EXAMPLE: User entered S and 4
Answer:
The square of 4 is 16.
Answers
Answered by
0
Answer:
in switch case which requires the user to enter character that determines that it is a CUBE OR SQUARE. Whenever the user enters ‘C’ = cube and ‘S’ = square.
Explanation:
EXAMPLE: User entered S and 4
Answer:
The square of 4 is 16.
please mark as brianlist
Answered by
0
switch (variable or an integer expression)
{
case constant:
//C Statements
;
case constant:
//C Statements
;
default:
//C Statements
;
}
Similar questions