Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program to check PRIME NUMBERS
main()
{
int i,k,r,flag;
clrscr();
printf("ENTER THE NO. TO CHECK IT IS PRIME OR NOT: ");
scanf("%d",&k);
for(i=2;i<=k/2;i++)
r=k%i;
if(r==0)
flag=0;
else
flag=1;
}
if(flag==1)
printf("THIS IS A PRIME NO.");
printf("THIS IS NOT A PRIME NO.");
getch();
OUTPUT :
ENTER NO: 10
IT IS NOT A PRIME NO.
I can''t figure out how to stop the programming from hitting for the player even when they type in stand.
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
Sine function computation
Define the Classification of Operators in C Language? Depending on the function performed the operator can be classified as 1. Arithmetic Operator 2. Logical Operator 3. Inc
You are to implement a code cracking system. The system will deploy four processes (p1,p2,p3 & p4) to try to guess the password of an encrypted code. For encryption, we consider th
pseudocode for gregorian calendar
overloadstream insertion opertator to display the data of object on the console
i can work
#questThere is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doin
Write a program to count the prime number in array
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd