Dev-CC (Bloodshed)
Bei dem Code ist alles richtig, aber trotzdem meldet mir der Compiler
immer nur, daß "cout" nicht deklariert ist:
#include <iostream>
int main (void)
{
int workDays;
float workHours, payRate, weeklyPay;
workDays = 5;
workHours = 7.5;
payRate = 38.55;
weeklyPay = workDays * workHours * payRate;
cout << "Weekly Pay = ";
cout << weeklyPay;
cout << '\n';
}
Vielleicht kann mir irgendjemand helfen.
Vielen DAnk im Voraus!
|