Witam! Mam dwie sprawy
Pierwsze
Widzi ktoś bład w tym kodzie:
class car
{
public:
int id, wheels;
string name, type;
private:
int cylinders, hpower;
}
void main()
{
car auto;
auto.name = „BMW”;
auto.wheels = „four”;
auto.hpower = 5;
{
Drugie
Ile jest interacji w tej pętli:
int m = 0;
while (m>2)
{
/* loop body*/
m++;
}
Dzięki za pomoc. Pozdrawiam