Cześć, mam banalny problem, ale nie dla mnie. Przy include <iostream> wyrzuca mi include does not name a type. Jakieś sugestie co jest nie tak? Dzięki,
include<iostream> int main()
{
int year;
double d1[year];
double c1[year];
d1[0] = 100;
c1[0] = 100;
int y = 1;
while (d1[y] > c1[y])
{
d1[y] = d1[y - 1] + 10, c1[y] = c1[y - 1] * 1.05;
y++;
std::cout << "Obroty Dafne:\t" << d1[y] << "Obroty Cleo:\t" << c1[y] << std::endl;
}
return 0;
}