Jump to content

Recommended Posts

Posted

Hi!!!
I want to use the value "age" at a program I have to write in C....
How must the value "age" be declared????As int or as float???Thank you!

Posted

It depends on the accuracy you need. Is an integer accurate enough, or do yo need to know age more accurately? It depends on the program you are writing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.