Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
using namespace std; class Car { public: int speed(int maxSpeed); }; int Car::speed(int maxSpeed) { return maxSpeed; } int main() { Car myObj; cout << myObj.speed(200); return 0; }
200