Currently browsing tag

Logic

Please help me with this C program?

For the following concern, my system is being employed by 3! plus 5!.But with regard to 10 it is far from working.Can easily anyone please explain this particular, Thanks in advance The factorial of the integer n may be the product connected with consecutive integer out of 1 in order …

Help for JavaScript!!!?

I have a question around the JavaScript.I keep asking what is really a class archive, and I would prefer to allow it to needlessly run that JavaScript.So can somebody support me If you know what will it be, please inform me.And assistance me to operate JavaScript. Are an individual missing …

Is this program write?

emptiness main int times, count, s=0, av cout<<"enter some sort of value"; pertaining to (i=0, i<100, i++) cin>>x s=s+x; if(x==0) exit (0) depend ++; in case (x==NILL) count<<"NO AVERAGE"; av=s/count; cout<<"Average is"<<av; endle int times, count, s=0, av what is going on there might be you designed this: int times, …

C++ code checking palindrome … not working :s?

this specific code we have made down below runs nonetheless useless…any help! thanx #include #include #define maxsize 100 int top=-1; int front=-1; int rear=-1; char stackmaxsize; char queuemaxsize; bool isempty() returning (top==-1rear==front); bool isfull() returning (top==maxsize-1rear==maxsize-1); useless push (char x) if(isfull()) cout<<"stack full"<<endl; else stack++top=x; char pop() if(isempty()) cout<<"stack empty"<<endl; …