Page not loading? Try clicking here.
Placeholder

#576

Function1 - Self Assessment 6 1s 64MB

Problems

By inputting an integer operation formula and calling a function for the operation,

Write a program that outputs the results of the four basic operations (+ - * /). (For '/', output only the integer portion, and set the results of operations other than the four basic operations to 0.) (Write using an if_else statement.)


Example

10 + 20
10 + 20 = 30

Source

자기주도C언어프로그래밍

You must sign in to write code.