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).


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.


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.


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 a true statement about the powers of the national government?

A true statement about the powers of the national government is that it possesses enumerated powers explicitly granted by the Constitution, such as the authority to regulate interstate commerce, levy taxes, and declare war. Additionally, the national government has implied powers derived from the Necessary and Proper Clause, allowing it to enact laws essential for executing its enumerated powers. These powers are designed to ensure the government can effectively govern and respond to the needs of the nation.


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; }


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

Jerraud Powers is number 25 on the Arizona Cardinals.


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.

Trending Questions
Is do-while loop executed only if the condition is true? A separation process may be classified as rate governed or phase equilibrium based what do these have in common and what are their differences? Can you use Plumbing tape on PVC pipes? A three-phase heater dissipates 15 kW when connected to a 208 V three-phase line Determine the value of each resistor if they are connected as star? What is expansion for asmx file? What is the difference between root pass filling pass and capping? What are some of the dangers inherent in a nuclear reactor? What are the Disadvantage of die cutting machine? What is the monthly salary of an aeronautical engineer in Bangladesh? A very long wire carrying a conventional current of 4.1 amperes is straight except for a circular loop of radius 6.4 cm Calculate the approximate magnitude and the direction of the magnetic field at? How do you write H2O in HTML code? What is the process of the computers? What does one do if excess pressure is being developed by the ST-12 THERM-X-TROL causing the pressure release valve on the water heater to discharge? Is nicrome wire the best material for conducting electricity? What is the working principal of the xerographic photocopier? What is the difference between ASTM composite toe and ASTM steel toes? Who was the inventor of of the steam engine in the S's? Which one is more polar o-xylene or p-xylene? Why might we need to use more of these energy sources in the future? Why do we need bulldozers?