0% found this document useful (0 votes)
2 views

Assignment 1 JAVA

The document outlines a series of Java programming assignments aimed at developing fundamental programming skills. It includes tasks such as checking if a number is even or odd, finding the sum of digits, performing arithmetic operations, and creating various patterns using loops. The assignments cover basic concepts like conditionals, loops, and functions in Java.

Uploaded by

gautamideore13
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment 1 JAVA

The document outlines a series of Java programming assignments aimed at developing fundamental programming skills. It includes tasks such as checking if a number is even or odd, finding the sum of digits, performing arithmetic operations, and creating various patterns using loops. The assignments cover basic concepts like conditionals, loops, and functions in Java.

Uploaded by

gautamideore13
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment 1

1. Java Program to Check Whether a Given Number is Even or Odd

2. Java Program to Find the Sum of Even and Odd Numbers

3. Java Program to Check Whether a Number is Positive or Negative

4. Java Program to Find the Largest Number Among Three Numbers

5. Java Program to Swap Two Numbers using two ways.

6. Java Program to Find the Number of Integers Divisible by 5

7. Java Program to Check if Two Numbers are Equal

8. Java Program to Find Sum of Digits of a Number

9. Java Program to Perform Arithmetic Operations

10.Java Program to Check Whether a Character is a Vowel, Consonant or

Digit

11.Java Program to Check Whether a Given Alphabets are Uppercase or

Lowercase or Digits

12 . Java Program to Calculate the Sum of Natural Numbers

13. Java Program to check whether the input character is a vowel or

consonant
14 Java Program to Find Factorial of a Number

15 Java Program to Check Whether a Number is Prime or Not

16 Java Program to Make a Simple Calculator Using switch...case

17.Program to print half pyramid a using numbers

12

123

1234

12345

18 Program to print half pyramid using alphabets


A

BB

CCC

DDDD

EEEEE

19 Inverted half pyramid using *


*****

****

***

**

20 Inverted half pyramid using numbers


12345

1234

123

12

You might also like