filmov
tv
ICSE - Grade 10 - Computer Applications(JAVA) - User Defined Methods - Check Twin Prime

Показать описание
Class 10 ICSE JAVA Programs (By Sritoma Majumder)
=======================================================
📢 Full Playlist Link:
✅ In this video,
✔️ Class: 10th
✔️ Subject: Computer Applications
✔️ Chapter: JAVA Program on User Defined Methods - Question 5
✔️ Topics Covered In This Video (By Sritoma Majumder): In this video you will get full explanation of JAVA Program on User Defined Methods to find whether two numbers are Twin Prime or not.
Question 5:
-------------------
Write a Java program to accept two numbers and check whether they are twin primes or not. Use the function name twin(), which returns 1 if the numbers are twin primes and 0 otherwise. Twin prime numbers are prime numbers whose difference is 2.
Examples: (3, 5), (5, 7), (17, 19) are twin primes.
=======================================================
👉 Contact Me 🤑🤑
➡️ Subscribe to me on YouTube:
#class10 #grade10 #sritomamajumder #class10computerscience #icseboard #class10icse #icseclass10 #icseclass10boardexam #javaprogram #javaprogramclass10 #userdefinedfunction #javauserdefinedmethod