top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Program to calculate the business days (Monday-Friday) in a year in C

+4 votes
244 views

Input
2026
Output
261

posted Nov 12, 2014 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

Given a Calendar class (there are three fields, year, month, day) and a number of N, Implement a function that returns the calendar after N days.

Example:
Input: {2017, 3,20} and 12,
Output: {2017,4, 1}

+2 votes

Input: 1223
1+3=2*2
that means if sum of 1st and last digit is equal to product of remaining 2 digits then print 1+3=2*2 else error msg.

...