Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
2 views

Assignment on JAVA

The document outlines an assignment for an Object Oriented Programming lab using Java for MCA 1st Year 2nd Semester students. It includes nine programming tasks such as finding the biggest number, generating Fibonacci numbers, calculating factorials, summing digits, checking for prime and palindrome numbers, printing patterns, and identifying Armstrong and Krishnamurthy numbers. Each task requires the use of specific programming constructs like if-else logic, loops, and logical operators.

Uploaded by

sumita.dasgupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment on JAVA

The document outlines an assignment for an Object Oriented Programming lab using Java for MCA 1st Year 2nd Semester students. It includes nine programming tasks such as finding the biggest number, generating Fibonacci numbers, calculating factorials, summing digits, checking for prime and palindrome numbers, printing patterns, and identifying Armstrong and Krishnamurthy numbers. Each task requires the use of specific programming constructs like if-else logic, loops, and logical operators.

Uploaded by

sumita.dasgupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment - 1

Object oriented programming lab with Java (MCA N – 293 )


Mca 1ST Year 2nd Sem

1.Write a program in JAVA to find the biggest number among three different
numbers using if-else logic and logical operator.

2. Write a program in JAVA to find the Fibonacci numbers within a range as


entered by user using for loop.

3. Write a program in JAVA to find the Factorial of a number using for loop.

4. Write a program in JAVA to find the summation of digits of a number using


While loop.

5.Write a program in JAVA to find whether a number is prime or not using if-
else logic.

6.Write a program in JAVA to find whether a number is palindrome or not.

7.Write a program in JAVA to print the following pattern

*
**
***
****
*****
8.Write a program in JAVA to find whether a given number is Armstrong
number or not.

9.Write a program in JAVA to find whether a given number is Krishnamurty


number or not.

You might also like