- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
[CODE]#include <iostream> using namespace std; int main() { double firstNo;// first number is stored here double secondNo; double result;//variable for result when first and second number are operated upon char operation;// place to store the user's inputed operation // asks the user to choose the first number cout<< "Enter in … |
|
(sorry i miss-typed dev c++ IDE) hi, i am a CS class right now, and my professor uses VS 2010. I on the other hand am cheap, and i opted to get dev c++ as a Integrated developing environment. I wrote this code for a project due tomorrow and it … |
|
hi there, i need to create a function that reads a series of numbers from a file and returns to the main function the mean of those numbers. I am having trouble with the syntax of array parameters and arguments (i don't know how to call the function if it … |
|
i can see the light at the end of the tunnel after working on this thing for 6 hours strait but i am faced with a last few errors. First here is the code: it is really long. the error statements are: 'seriesParallel' : undeclared identifier seriesParallel' : undeclared identifier … |
|
I am trying to write a function that relates a color; for example, brown with a number, say 1. so when the user types brown 1 will appear, etc. [CODE]int colortonumber (int x) { int nka; switch (x) { case 'brown': nka=1; break; case 'red': nka=2; break; case 'orange': nka=3; … |
|
hello there, i need to get 7 different values for a resistor from the user, then add them up. how will i go about doing so? do i store each value the user gives me all in different variables? or is there a way to store them into a single … |
|
hello, i need to write a program that computes an equivalent resistor value if it is in either series or parallel . (in c++). how will i write this in c++ : [TEX] R_\mathrm{eq} = R_1 \| R_2 = {R_1 R_2 \over R_1 + R_2} [/TEX] (parallel) [TEX] R_\mathrm{eq} = … |
|
[CODE]#include <iostream> using namespace std; int main() { double firstNo;// first number is stored here double secondNo; double result;//variable for result when first and second number are operated upon double operation;// place to store the user's inputed operation // asks the user to choose the first number cout<< "Enter in … |
|
#include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second number are subtracted int resultMult,// variable for result when first … |