Computer Science, asked by royantonyfff, 6 months ago

Write a statement that uses a conditional operator to set fine to 500 if speed is more than 80, and to 0 otherwise​

Answers

Answered by shibangidey
0

Answer:

grant=(speed>68 ?10:0)......

i hope it help you...

Answered by valeriy69
1

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

s = int(input("enter speed: "))

fine = 500 if s > 80 else 0

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions