开发者

Write a c program using conditional operator to evaluate: y=2.4*x+3 for x<=2 and y=3*x-5 for x>2 [closed]

开发者 https://www.devze.com 2022-12-07 17:48 出处:网络
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code nece
Closed. This question needs debugging details. It is not currently accepting answers.

Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help other开发者_C百科s answer the question.

Closed 1 hour ago.

Improve this question

need source code for the above question. strictly using the conditional operator.

i used the ?: but kept showing error. asked my teacher but he didn't help me much as it was an assignment.

0

精彩评论

暂无评论...
验证码 换一张
取 消