24 May
2022
24 May
'22
10:06 p.m.
#include <iostream> using namespace std; class Triangle { public: Triangle(int width, int height) : width(width), height(height) { } void draw() { todo todo syntax error } private: int width, height; } int main() { Triangle triangle; triangle.draw(); }