heloo i need help on how to tackle the problem. some basic ideas and keypoints.

What is that? Pi or something else? For Pi there are over 64 solutions at https://rosettacode.org/wiki/Pi
Given google I found even more. All skill levels arrive here so if this is to find Pi, why won't those work for you?

commented: thank you +0
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.