Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    static double y, x, rem;
    static int cont, i, loopstart, daydist;

    public static int calcyseal(int bthyear) {

        int abs = (Math.abs(1965 - bthyear));
        y = abs / 4.00;
        y = y - Math.floor(y);
        if (y > 0) {
            cont = calcyseal(bthyear + 1);
            return (cont + 1);
        } else
            return (1);
    }
}