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 |
volts=230 c=10mf a=??
NOW A DAYS THE POWER SUPPLY IS VERY LOW.SO THE FLURESCENT TUBE LIGHTS ARE VERY DIM.IS THERE IS ANY WAY TO INCREASE ITS BRIGHTNESS?FOR EXAMPLE ANY CONVERTER,CONDENSER?
What is the difference between earthing & neutral.
What is the suitable rating of MCB for 1.5 Ton A.C and why? 1Ton= how many amperes?
how to calculate the bus-bar size. give formula with description
Where the ON LOAD TAP CHANGER is provided in the setp up transformer?
how to find out speed of single phase motor
When a fourth resistor is connected in series with three resistors, the total resistance
Why current leads the voltage in case of capacitor load? Why voltage leads the current in case of inductive load? Why both are with in phase in case of restive load?
we use capister for power factor. when we use capaciter in dg circuit than defect dg. can we use capaciter bank for dg circuit
What is the use for cable entry in control room?
6.6Kv feeder feeding tow step down transformers-415V-,what the possible consideration for parrellel operation?