#include<iostream>
using namespace std;
int main()
{ cout<<"www.moznum.blogspot.com"<<endl<<endl;
float distance,time,velocity;
cout << "Enter the distance " <<endl;
cin >> distance;
cout << "Enter the time " <<endl;
cin >> time;
velocity = distance/time;
cout << "Velocity is " << velocity <<endl;
return 0;
}
You Can also find this program by this:
How to find velocity in C++ by taking time and distance as input and print them.
Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read. velocity calculator
ReplyDelete