Skip to content

Commit cd8a54a

Browse files
authored
Update ActivitySelectionProblem.c
1 parent 6c04523 commit cd8a54a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ActivitySelectionProblem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void findMaxActivities(int n,int arrl[n],int depr[n]){
4545
}
4646
}
4747
for(i=0; i<=k; i++){
48-
printf("Maximum Number of Activities : %d at time period %d-%d\n",maxBands,depr_time[i]-1,depr_time[i]);
48+
printf("Maximum Number of Activities : %d at time period %d-%d\n",maxActivities,depr_time[i]-1,depr_time[i]);
4949
}
5050
}
5151

0 commit comments

Comments
 (0)