Help me please! i want to write a function that has a double x and a boolean ok as parameters,and returns a double. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Help me please! i want to write a function that has a double x and a boolean ok as parameters,and returns a double.

the function will return the square root of (x-1)*(2-x) and return through the medium of the variable ok the value true if the function is defined in x , false if not..

26th Sep 2017, 6:30 PM
love
love - avatar
2 Réponses
0
c++
26th Sep 2017, 6:38 PM
love
love - avatar
0
thanks
26th Sep 2017, 7:32 PM
love
love - avatar