Paging Purevl

I am actually gaining a lot of interest in NASA, but i really won't know until I'm out. I most likely will be interning at pratt (airplanes) and the 2 MEs i know from there never needed to use C++, well see
i thought i was done..one more question cheese.
I displayed the menu, and using a double function i wanted to compute the answer. For example for addition i used:
double add(double accumulator)
{
double number;
cout<< "Please enter a number";
cin>> number;
return accumulator+number;
}
I then want to call upon this function in a switch statement, depending on the case that the user enters. For addition, the case was 2 so i did this:
case 2:
cout << "Accumulator is " << accumulator<<endl;
accumulator= add(double accumulator);
break;
I must be calling for the double function wrong because i am getting errors. How do you call for the double function in the main function using a switch state?
I am actually gaining a lot of interest in NASA, but i really won't know until I'm out. I most likely will be interning at pratt (airplanes) and the 2 MEs i know from there never needed to use C++, well see
The Best V8 Stories One Small Block at Time
I then want to call upon this function in a switch statement, depending on the case that the user enters. For addition, the case was 2 so i did this:
case 2:
cout << "Accumulator is " << accumulator<<endl;
accumulator= add(double accumulator);
break;
I must be calling for the double function wrong because i am getting errors. How do you call for the double function in the main function using a switch state?

If it makes you feel better between my profession now and 2 different internships, I never had to use any of that stuff. AutoCAD and ProE were very useful though IMHO.
where do u work?
I work as a semiconductor MFG engineer for IBM in East Fishkill. Actually its kind of a shame since I rarely most of the MechE stuff I learned, I deal alot more with Materials Science/Engineering, Ceramics, Industrial Engineering, equipment. I use a little bit of fluids, but they have guys with PhD's in fluids that handle most of that kind of development work. I'll probalby switch positions in another couple years and move into something more MechE related. I've been at this position for 4 years now and I'm about ready for a switch.
Still going to try my hand at taking the PE test next spring and see if I can get licensed.
I work as a semiconductor MFG engineer for IBM in East Fishkill. Actually its kind of a shame since I rarely most of the MechE stuff I learned, I deal alot more with Materials Science/Engineering, Ceramics, Industrial Engineering, equipment. I use a little bit of fluids, but they have guys with PhD's in fluids that handle most of that kind of development work. I'll probalby switch positions in another couple years and move into something more MechE related. I've been at this position for 4 years now and I'm about ready for a switch.
Still going to try my hand at taking the PE test next spring and see if I can get licensed.
I really need to look into it though since its been one of my goals since graduation...you may be right about 4 PE's signing off. I'll have to have a chat with one of the PE's.
I really need to look into it though since its been one of my goals since graduation...you may be right about 4 PE's signing off. I'll have to have a chat with one of the PE's.

i love the major though, its so hands on and interesting

i love the major though, its so hands on and interesting
The great thing about MechE is you really get a taste of many different things, which opens many doors for careers. Fluids, Thermo, Heat Xfer, kinematics, dynamics, usually a little Mat Sci and E Sci. Plus the hands on stuff - our senior project was pretty much to build an off-road utility vehicle for bottom barrel costs. It was basically akin to junk yard wars, hell of alot of fun. And I took welding which was a combo of actually learning how to weld, and the theory and metallurgy behind it.
Oh and when you get out, even with just a bachelor's, you get paid pretty darn well too





what they do with it after that is their problem.