The trouble is you think you have time. Your success depends on how you utilize your time.

C++ Program to find centripetal force by giving radius, mass and velocity as input and print them


Write a Program to find Centripetal Force by taking Radius, mass, and velocity as input and print them.

#include<iostream>
using namespace std;
int main()
{ cout<<"www.moznum.blogspot.com"<<endl<<endl;


float mass,velocity,radius,f,force;
cout << "Enter the value of mass: ";
cin >> mass;
cout << "Enter the value of velocity: ";
cin >> velocity;
cout << "Enter the value of radius: ";
cin >> radius;
f = mass*velocity*velocity;
force = f/radius;
cout<<endl<< "Centripetal force for your values are: " << force <<endl;
return 0;                                                      
}









You can also search this topic by:

1 comment: