vise
Ternary Operator
some domestic products. If
in a
و
ator
16. Consider the weekly salary of a salegirl who is selling some domestic products if x is the number of products sold in a
week, her weekly salary is given by!
{ 300 for
{ 4.5x +150 for x >40
W.A-p to calculate and perit the weekly salany using the tornary
operation
Salary
{ { 4x+100 for a 240
n = 40
Answers
Answered by
2
assuming that u nedd the information on ternary Operator in c++
CC++Server Side ProgrammingProgramming. Syntax of ternary operator is − (expression-1) ? expression-2 : expression-3. This operator returns one of two values depending on the result of an expression
Similar questions