Posted in All Posts, Semester 4

Sem 4 – CJ Unit 2 Programs

CJ – Core Java

Unit 2 – Decision Making, Looping, String, Array, Wrapper Classes

1. Write a program to print even number up to 10 using while loop.
Download

2. Write a program to check whether the given number is even or odd.
Download

3. Write a program to demonstrate calculator using switch statement. Continue reading “Sem 4 – CJ Unit 2 Programs”