Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  CT.exe
Language: C/C++
Code:
#include <iostream>
#include <cmath>

using namespace std;

int main()
{

int GPSspeed;
int VSSspeed;
int initial_impuls;
int final_impuls;

cout << "Please write GPSmax speed in test trip: " ;
cin >> GPSspeed;
cout << endl << endl;

cout << "Please write VSSmax speed in test trip: " ;
cin >> VSSspeed;
cout << endl << endl;

cout << "Please write impuls: " ;
cin >> initial_impuls;
cout << endl << endl;

final_impuls = (((initial_impuls * VSSspeed) / GPSspeed) / 10) * 10 + 10;

cout << "=============================" << endl << endl;
cout << "Impuls should be : " << final_impuls << endl << endl;




return 0;

}     
          
Comments: