answersLogoWhite

0

#includ<iostream.h>

int main ()

{

int n,n-1;

for(n=0);

cout<<"the number is even:"<<endl;

if(n=n-1)

cout<<"the number is prime:"<<endl;

getch 0;

return 0;

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is any number raised to the power of one the answer is the number itself?

It is a true statement that can be derived easily from the laws of powers (or indices).


What is the input or output of a light bulb?

The input of a light bulb is electricity, which powers the bulb, causing it to emit light as the output.


Is a number a variable or the product of a number and one or more variables raised to whole number powers?

The statement is true only if either the number is 0, or the variables are all raised to the power 0. In no other case can a variable involved.


The European powers viewed this statement of policy at that time as?

unimportant


The European powers viewed this statement of policy at that time as what?

unimportant


Was lend lease a program to aid allied powers?

Yes


What is Jerraud Powers's number on the Arizona Cardinals?

Jerraud Powers is number 25 on the Arizona Cardinals.


Do a java program to scan a number n and then output the sum of the powers from 1 to n thus if the input is 4 the output should be 288 because?

#include &lt;stdio.h&gt; int main() { int n; long s = 0; scanf("%d", &amp;n); for (int i=1; i&lt;=n; i++) { int k = 1; for (int j=1; j&lt;=n; j++) k=k*i; s = s + k; } printf("%d\n", s); return 0; }


How do you do a number to a power on a computer?

Depends on which program you're using. In some programs, use the carat (^) to express powers. For example, 2^3 reads 2 to the third power.


What are variable raised to whole number powers?

They are the integer powers of that variable.


What is the phone number of the Powers Museum in Carthage Missouri?

The phone number of the Powers Museum is: 417-358-2667.


What is the phone number of the Powers Library Association in Moravia?

The phone number of the Powers Library Association is: 315-497-1955.