Absolutely! Here's an example C++ program that calculates the circumference of a circle based on the provided radius:


#include <iostream> using namespace std; const double PI = 3.14159; // Constant for Pi int main() { double radius, circumference; cout << "Enter the radius of the circle: "; cin >> radius; circumference = 2 * PI * radius; // Calculate circumference cout << "The circumference of the circle is: " << circumference << endl; return 0; }


This program prompts the user to enter the radius of the circle, calculates the circumference using the formula 2Ï€R, and then displays the result. The value of Pi is stored in a constant named PI and used in the calculation of the circumference.