Mapper
libraries
cbrfc
convcy.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 CONVCY
7
*
8
* CONVERTS WATER YEAR # TO CALENDAR YEAR MONTH #
9
*
10
*CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11
* */
12
void
convcy
(inmon, newmon)
13
long
int
*inmon, *newmon;
14
{
15
16
*newmon = *inmon;
17
if
( *inmon < 4 )
18
*newmon = *inmon + 12;
19
*newmon = *newmon - 3;
20
return
;
21
convcy
void convcy(long int *inmon, long int *newmon)
Definition:
convcy.c:12
Generated by
1.9.1