heloo
can anyone plz tell me how use functions like power and setw....
in programmes...
thanku

heloo
can anyone plz tell me how use functions like power and setw....

Probably.
What did you try? With what do you have problems?

well its like this i have writen program that asks user to input even and odd integers and then add the even and odd integers seperatley and divide them by pi=3.14 and it should give the answer upto 3 decimal points...
i dont know how to set the width.....

You will need to include this to set width

#include <iomanip>

Then use setw (#)

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.