Skip to content
Snippets Groups Projects
Commit ad9346fd authored by Rudi Buss's avatar Rudi Buss
Browse files

Update Exercise 1 - Vehicle.txt

parent c02116cc
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,8 @@ Here is the first task to repeat the content of the first part of the course:
Given is the following program:
#include "cstdlib"
#include "iostream"
#include <cstdlib>
#include <iostream>
using namespace std;
class Vehicle
......@@ -19,11 +19,11 @@ int ps;
int constructionYear;
public:
void displayData(){
void displayData() {
cout << "Brand: " << brand << endl;
cout << ãLicence Plate: " << licencePlate << endl;
cout << "Licence Plate: " << licencePlate << endl;
cout << "PS: " << ps << endl;
cout << ãConstruction Year: " << constructionYear << endl;
cout << "Construction Year: " << constructionYear << endl;
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment