Computer Science, asked by antara7198, 8 months ago

2. Rewrite the following using ternary
operator:-
if(amt>=100000)
dis= amt * 4/100;
else
dis= amt. 2/100;


Answer Fast please .......​

Answers

Answered by ankuugaming468
2

Answer:

A=-

P= 100000

R=4/100

π Hence is 100000+4/100

Explanation:

MARK ME AS INTELLIGENT

Answered by tonystarkironman94
2

Answer:

ternary operator

dis=(amt>=100000):(amt*4/100)?(amt*2/100);

this is your answer

Similar questions