Java program to check if number is even or odd
import java.util.Scanner; class OddOrEven { public static void main(String args[]) { int x; System.out.println("Enter an integer to check if it is odd or even"); Scanner in = new Scanner(System.in); x = in.nextInt(); if (x % 2 == 0) System.out.println("The number is even."); else System.out.println("The number is odd."); } }
Computer Graphics-Bresenham’s Line Algorithm
Here we learn about some of the concepts of Computer Graphics : Bresenham’s Line Algorithm A highly efficient incremental method for scan converting lines. Using only incremental integer calculation. DDA works with floating point arithmetic Rounding to integers necessary Bresenham’s algorithm uses integer arithmetic Constants need to be computed only once
NEW GROWN WITH PLEASANT PAIN: A READING OF KEATS’S ODES
NEW GROWN WITH PLEASANT PAIN: A READING OF KEATS’S ODES