Idn Poker is a well-known digital poker platform in Asia, particularly in Indonesia. As a part of the official IDN Play network, this platform offers a variety of card games that can be played on both computers and mobile devices. Supported by modern technology and a stable server system, IDN Poker is the choice of many players seeking an poker online terbaik experience with easy and convenient access.

The popularity of IDNSLOT is inextricably linked to the rapid growth of the online gaming industry. Many users are currently seeking a platform that combines easy access, game variety, and high-quality service. The official idn slot online website offers a variety of these features in one place, meeting the ever-growing demand for digital entertainment.

Toto Macau is one of the most sought-after lottery markets by lottery enthusiasts because it provides regular data updates through its Macau Data, Macau Expenditures, Live Draw, and Macau 4D & 5D features. These various information services make it easy for users to monitor the latest result macau and view archives of previous results in one convenient location.

Prime Number Program in C Language Using for Loop in Hindi

Understand prime number and write a program in c language to identify a number is prime or not

दोस्तों हमको बहुत सारे message मिले जिनमे users जानना चाहते है की prime number क्या होता है और c language मे prime number program- ‘for’ loop की help से कैसे बनाते है | आइये जानते है Prime Number के बारे मे लेकिन इस program को समझने के लिए आपको c language के syntax के बारे मे जानकारी होना जरूरी है |

prime number c program hindi

Prime Number 

Prime Number : – Prime number उस नंबर को कहते है जो की 1 से बड़ा हो and 1 से और खुद के number से evenly divide हो सकता हो | Example: 2 can only be divided evenly by 1 or 2, to यह prime number होगा | अगर हम 8 की बात करे तो क्योकि यह 1, 2, 4 and 8 से evenly divide हो सकता है तो यह prime number नहीं है | Other Example of Prime numbers are – 2,3,5,7,11 etc 

Read Also – C Program to swap two numbers values without using third variable

Aayie Prime Number program dekhe –

#include <stdio.h>

main() {

int num, i, count = 0;

printf(“Enter any number num:”);

scanf(“%d”, &num);

/*Prime Number Logic*/

for (i = 1; i <= num; i++) {

if (num % i == 0){

count++; 

} 

} 

if (count == 2) {

printf(“%d is not a prime number”,num”); 

}

else { 

printf(“%d is not a prime number”,num”);

}

return 0; 

}

Program Output: – 

Enter a number: 5

5 is a prime number

Read Also –What is Programming Langauge

What is C Programming Language

What is JAVA Programming Language

Leave a Reply