How do I make a function in C that accepts one input number and returns a double number? I’m trying to create one that squares the number and returns the result (For example, if 12.1 was entered then 146.41 would be returned).
How do I make a function in C that accepts one input number and returns
a double number? I’m trying to create one that squares the number and returns the result (For example, if 12.1 was entered then 146.41 would be returned).