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!
Write a program to read in a positive integer and check whether it is prime or not?
/* Program to check whether a given number is prime or not*/]
# include
void main()
{
int i=2,n,flag=1;
clrscr();
printf("\nEnter the number : ");
scanf("%d",&n);
while(i { if(n%i==0) { flag=0; printf("\n%d is not a prime number",n); break; /*takes control out of the while as soon as the numbers is fully divisible */ } else i++; }
if(n%i==0)
flag=0;
printf("\n%d is not a prime number",n);
break; /*takes control out of the while as soon as the numbers is fully divisible */
}
else i++;
Classification according to level of processing According to this classification, computer operations are classified as arithmetic operations and instruction implementation. Ne
which two class die class contain in computer programing.
Q. Define about Hyper-threading technology? Hyper-threading technology enables a single microprocessor to behave as two separate threaded processors to operating system and app
Q. Convert the following into POS form 1. (AB + C + DC)(AB + BC + D) 2. WYZ + XYZ + W'X'Y + W'XYZ 3. XY + XZ + X'YZ' 4. (A+B'+C) (AB+AC') 5. F(A,B,C,D)=M(0,3,
Interrupt handling: Handling Interrupts Several situations where the processor should avoid interrupt requests Interrupt-enable Interrupt-disable Typical
what is cardinality ratio?
what is interference of light explain the nessicity of coharent source for obtaining sustain interference pattern
Make a file which kepts on every line a letter, a space, and a real number. For example, it may look like this: e 5.4 f 3.3 c 2.2 f 1.1 c 2.2 Write a script that uses textscan to
i want to know complete detail of 8086 microprocessor such as memory segment ,interface with ram rom ect
Overriding tell us only the methods, but shadowing tells us the entire element.
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