rewrite the following using if else statement
come=(sale>15,000)?sale*5/100:0;
Answers
Answered by
4
Here is your answer⏬
Q)Rewrite the following using if else statement
come=(sale>1500)sale*5/100:0;
Output ⏬⏬
if (sale>1500)
come=sale*5/100;
else
come=0;
For a more clear concept refer to the attachment
Hope this helps you ^_^
Q)Rewrite the following using if else statement
come=(sale>1500)sale*5/100:0;
Output ⏬⏬
if (sale>1500)
come=sale*5/100;
else
come=0;
For a more clear concept refer to the attachment
Hope this helps you ^_^
Attachments:
Answered by
0
Answer:
Q)Rewrite the following using if else statement
come=(sale>1500)sale*5/100:0;
Output ⏬⏬
if (sale>1500)
come=sale*5/100;
else
come=0;
For a more clear concept refer to the attachment
Explanation:
Similar questions