Write statements that would declare a constant PI | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

Write statements that would declare a constant PI

show the code

13th Apr 2019, 7:55 AM
Josy Skymax
Josy Skymax - avatar
3 Respuestas
0
#define PI 3.1415927
13th Apr 2019, 8:05 AM
Maneren
Maneren - avatar
+ 2
thank you
13th Apr 2019, 8:21 AM
Josy Skymax
Josy Skymax - avatar
+ 2
const double PI = 3.1415927; // e.g. in C++
13th Apr 2019, 1:51 PM
Sonic
Sonic - avatar