I'm new to programming so please forgive me is this is a daft question!
On working my way thru a book on C++ i tried an exercise as follows:
"declare a constant for pi as 3.14159 then declare a float variable and initialize it using your pi constant."
this was my solution:
const...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.