Perfect Number in Java using Functions | Java Program #ImportantTips | Computer

Amplify Learning - with Alok
Amplify Learning - with Alok
18 هزار بار بازدید - 3 سال پیش - Question: Write a program in
Question: Write a program in java to accept a number and check the number is Perfect number or not using the following Functions.

[Perfect: If the Sum of factors excluding the number itself is equal to the original number then it is termed as a Perfect number ]
Example : 6, 28 etc.

static void accept( ) : to accept the number.
static void perfect(int a): to check the number is Perfect or not.
Write a main( ) method to call the other methods.

THIS PROGRAM's CODE: https://amplifylearning.co.in/perfect...

***************************************************

ALL COMPUTER PLAYLISTS

** Computer Science Class 12 : Computer Science Class 12 ISC Board |...

** Computer Science Class 11 : Class 11 Computer Science ISC board |...

** Java Programs for Class 11 & 12 : Java Programs for Class 11 & 12 ISC b...

** Computer Applications Class 9 & 10 : ICSE Computer Applications Class 10th...

** Java Programs for Class 9 & 10 : Java Programs for Class 9 & 10 ICSE b...

Join this channel to get access to perks:
@amplifylearning

You can follow us here,

Twitter   :- Twitter: alokmaurya95
Instagram :- Instagram: alokmaurya95
Facebook  :- Facebook: AmplifyLearning

Check out our website :- amplifylearning.co.in
Email us at :- [email protected]

********************************************

Join our YouTube family, lets grow together!
Subscribe to Amplify Learning
amplifylearning

#AmplifyLearning #Computer #Java
3 سال پیش در تاریخ 1400/06/09 منتشر شده است.
18,070 بـار بازدید شده
... بیشتر