help please... what is the use for double varilabe in dev c++.. and how do u print it on the screen?

Do you think

double variable=358.5874

?

double is double precision floating point type.

And you can write the value in console by:

#include <iostream>

int main() {
	double variable = 558.5475
	std::cout << double << std::endl;
}

Output:
SHELL> 558.5475

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.