C++ program..Help!
Well i am working on an online banking system.Here is my code(not so ood but its a start)
#include <iostream>
#include <string>
using namespace std;
void header()
{
cout<<"\t\t\tWELCOME TO ONLINE BANKING SYSTEM"<<endl;
cout<<endl;
};
int getacctno();
int...
i have a question where
s1,2=(-4 (+-) j3) 10^3
are roots of a second order D.E of a series RLC ckt
where s1,2=(-z (+-) (z^2 -1)
(z is zeta)
now from
s1,2=(-4 (+-) j3) 10^3 ,its showing roots of underdamped ckt(complex nd conjugate)
but when i solve eq. z gives 2 values(but z must be...
i m having serious problem regarding this program...i m not asking u 2 make it for me...just help me with logic because i can't get gist of it...pleasezz i need help...i ve working on it like 3 hours nd its like my mind has gone blank:(
thanks a lot...i do get it now nd i ll try to form less loops now
thanx a lot for the tipEDIT: please can u tell wat this statement means
j%2 ? pi-=1.0/i : pi+=1.0/i ;
nd y are we doing it?
urgent help with c++ program for series
i want to form program 2 sum this
pie=4[1-1/3 +1/5 -1/7+... 1/n]
{
int n,z,i;
float x,y,pie;
cin>>n;
i=0;
while (i<=n)
{
y=1/((2*i)+1);
i=i+2;
}
for(z=1;z<=n;z=z+2)
{
x=1/((2*z)+1);
}
pie=4*(y-x);
cout<<pie;
}...
actually i need to apply only pow(a,b){it is a power function meaning a^b}
nd for loop nd goto conditions
pow(a,b) requires source file math.h
i ve done somethings for 3rd but can't check output
please some1 do
{
int n,a,s,m,i;
cout<<"length of no.";
cin>>n;
cout<<"number"...
sorry i wasnt asking you to do it...actually my vc++ has some problem as soon as i run program computer shuts down...i ve made codes can any1 check them
for 1.
{
int a,b,c,d,n,div,div1;
cout<<"length of no. :";
cin>>n;
cout<<"Number :";
cin>>a;
flag:
div=pow(10,n-1)...
i've just started studying programming...nd i can't understand how to write these programs:
1:to recognize palindromes using goto condition
2:to recognize palindromes using for loop
3:to convert binary into decimal nd decimal into binary
i m seriously lost nd can't understand for...
i ve never read partial DE...nd i don't kno how to do this question i got in homework...pleasez help
(x^2+y^2+z^2)^-1/2=V
prove dv^2/dx^2 + dv^2/dy^2 + dv^2/dz^2 = 0
(i wrote "d" for partial differential)
i know its a basic question but i can't understand the technique
actually...this assignment was given just after 1st lecture on DE in class...so i was v much messed up in mind...nd abt that thanks heheheh...it made sense at that moment but not in the next 1:)
i really appreciate u helpin me ...i m going to solve it like that
thx!