The basics of programming in c++ for beginners

fma () – function of cmath library

fma(a, b, c);

Function fma() of cmath library accepts three parameters: a, b – ​​for multiplying this values , c – to add value.

Returns the value of a * b + c.

Execution result ( 2 * 2 + 3):

fma () - function of cmath library

Leave a Reply

Your email address will not be published. Required fields are marked *