My code:
const int timer = 8;
const int dager = 5;
const float måned = 4.33;
const int uker = 52;
printf("forste persons navn: ");
scanf("%s", navn1);
printf("Andre persons navn: ");
scanf("%s", navn2);
printf("timelonn til forste person: %i");
scanf("%i", timelonn1);
printf("antall uker ferie til forste person: %i");
scanf("%i", ukeferie1);
printf("timelonn til andre person: %i");
scanf("%i", timelonn2);
printf("antall uker ferie til andre person: %i");
scanf("%i", ukeferie2);
return 0;
}
Errors I am getting:
error: stray '\345' in program
error: expected "=", ',',', 'asm' or '_attribute_'before 'ned'
error: 'ned' undeclared (first use in this functon)