- #1
loli12
I want to know if i use double variable and the input value is an integer, will that variable be stored as a decimal? How about for float variable?
ex. double x, and cin 3 for x, will x be stored as 3 or 3.0?
Thanks
ex. double x, and cin 3 for x, will x be stored as 3 or 3.0?
Thanks