wap to print prime number from 1 to 100 using c++
Answer / digvijay ghildiyal
#include<iostream.h>
#include<conio.h>
void main()
{
int x,c,i;
clrscr();
cout<<"\n";
for(i=1;i<=100;i++)
{c=0;
for(x=1;x<=i;x++)
{
if(i%x==0)
c++;
}
if(c==2)
cout<<"\n"<<i;
}
getch();
}
| Is This Answer Correct ? | 16 Yes | 10 No |
What is the meaning of maximum demand
it is clear that volts equal to the current as per ohms law. is it appliable to the AC power or only for DC. if it is appliacable to AC in transformers when voltage increases the voltage decreases ????? why??????????????
what is the suitable voltage of transmission line to transmit 10000w power through 250 km. (a)11kv (b)33kv (c)66kv (d)132kv ]and please tell me whats the logic behind it
I have raw material for making Compact-Choke for flourscent lamp of 40 Watts. We are suppose to get 0.4 amps output at end. but we are getting 0.42 or 0.44 amps and above. We have done many testings in different but nothing worked out. Please suggest me how to get the correct output. We are using 1. core winding of 700 windings of aluminium 2. E-shape iron fillings and I-shape iron fillings to surround the winding.
What is the current flow in 230v ac supply ? What is the current flow in 415v Ac supply ?
I HAVE A INCOMING 100A MCCB TPN 25KA, CABLE LENGHT OF 80M 70MM CABLE SIZE FROM MAIN SUBBOARD TO NEW DB.BASE ON THE FAULT LEVEL SETTING OF 45KA.I WOULD LIKE TO FIND OUT 25KA ENOUGH KA. APPRECIATE IF SOMEBODY CAN ASSIST ME WITH FORMULA FOR THIS. FRM: JEFF
Slipring moter find external resistance
Why DG set rating in KVA
Why dc Supply used in Control circuit.
What are the main parts of central chiller plant? Explain the function of each stage.
0 Answers HSL, Shankar Electricals,
what is the maximum rating(KVA) of transformer can be used in distribution side..(11KV/440v) and why??
For what purpose an AVR in generator sensing generator output voltage?and how the sensing is done by AVR?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)