Mapper
convwy.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <math.h>
4 /*CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5  *
6  * SUBROUTINE CONVWY
7  *
8  * CONVERTS CALENDAR MONTH # TO WATER YEAR MONTH #
9  *
10  *CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11  * */
12 void convwy(inmon, newmon)
13 long int *inmon, *newmon;
14 {
15  *newmon = *inmon;
16  if( *inmon < 10 )
17  *newmon = *inmon + 12;
18  *newmon = *newmon - 9;
19  return;
20 }
21 
void convwy(long int *inmon, long int *newmon)
Definition: convwy.c:12