16 Topics
|
|
Hello to all! I am a begginer to C++ and writing a class . Actually my program runs perfectly but there is logical error. My compiler is devC++. the output of my program should be as follows: Enter your name: john Enter your rollno: 45 Enter your semester:4 Enter your … |
|
I've been reading through this introductory book on Python, and I've been following along fairly well. Compared to C++, Python seems to make more sense to me. That is, until I reached a section on Logical Operators. I don't completely understand what I just typed in to IDLE, and the … |
|
Hello, I am working on making myself a digital clock (as a fun little project) and I want to have two buttons, one to increase a value (like the hour) and one to decrease, mainly because I am tired of the clocks where you have to button mash the 'increase' … |
|
I have to create a system design for a cashier system. Most of the transactions would be payments for fees in a student account. Fees like Tuition, Books, Enrollment Fees. The problem with these fees are their special characteristics like Tuition fees being staggered in MONTHLY itemization (if that's a … |
|
I was proposed a project that sounds like this. Consider a set of logical gates like AND, OR, XOR or NOT. Allow for building any logical circuit by connecting such gates. Provide input (0/1) to a number of gates and collect the results at the output of some of the … |
|
As someone who is new to Javascript, I find it kind of odd that Javascript doesn't seem to have a != operator. Is there a rationale why the language was designed this way? |
|
Hi guys, Just looking for some advice on database design. I'm relatively competent in MySQL (competent at a push, haha) and I'm in a bit of a pickle right now when I'm trying to generate products for a Magento store. Well, Magento is where it ends up, I currently use … |
|
Hi, I'm running a script to bring down the logical ip address . But if the system doesnt have that logical ip addresss then i get the following error print on terminal - SIOCSIFFLAGS: Cannot assign requested address I just want to know whether there is a way to suppress … |
|
Hello everyone, I hope everyone is having a wonderful afternoon. I am a college student who is Majoring in Computer Information Systems. In one course, we have a group project that covers the whole SDLC, and we are actually creating a new system. We're creating a e-commerce website that runs … |
|
Hi There is something about this code that does not seem right has anyone got any ideas? It does not matter what it does. I mean from a constructor/inheritance point of view. Some of the points I made were one constructor was passing a null value, which in turn was … |
|
i am working in Dijkstra code.which i want to get the vertexes from user by using Array list.but there is a problem in computepath method i can't solve it. [CODE] public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("insert the number of Vertexes:"); int nv=input.nextInt();//nv = number … |
|
[CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); int A[20][2],n,sum; cout<<"\n\tEnter the no. of terms: "; cin>>n; cout<<"\n\tEnter "<<2*n<<" numbers to the "<<n<<"*2 array: "; for(int i=0;i<2;i++) { for(int j=0;j<n;j++) cin>>A[i][j]; } cout<<"\n\n\tThe Array you entered is: "; for(i=0;i<2;i++) { cout<<"\n"; { for(int j=0;j<n;j++) cout<<A[i][j]<<" "; } } for(i=0;i<2;i++) { sum=0; for(int … |
|
#include<iostream.h> #include<conio.h> #include<math.h> void main() { clrscr(); int n,x,i,j; float p,fact=1.0,sum=0.0; cout<<"\n\tEnter the number: "; cin>>n; cout<<"\n\n\tEnter the Value of 'x': "; cin>>x; for(i=1;i<=n;i++) { for(j=(2*j-1);j>0;j--) { fact=j*fact; if(i%20==0) p=(-1)*pow(x,(2*i-1)); else p=pow(x,(2*i-1)); sum+=p/fact; } } cout<<"\n\tThe sum is "<<sum; getch(); } |
|
Ok, so I'm new to programming and I'm making console programs right now. I tried making a program to draw a rectangle in a cli program. I have some logical errors in the program that prevent it from working. I'm new to C++ so go easy on me. :P [CODE]/*Program … |
|
Hi all. I know that others have posted about Rock Paper Scissors, but none of their posts are exactly what I am needing. My issue is that for my program, we are required to use at least 1 switch and 1 if statement, as well as keep track of the … |
|
Can anyone explain what logical mobility is or direct me to a decent link to research from as im just finding pages with the word being used but no explanation to the meaning Thanks |
The End.