love calculator made in java programming language as my college task