No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Hello guys! I want to create a dropdown menu to my site and I did it with JS instead of CSS because some functionality was needed that is'nt available in CSS, so I wrote it completely in JS (the styling is in CSS of course). Now, after I've ironed out …
Hi! I want to write a program, which calculates and draws the path of a planet around a sun. Actually it just draws the planet and the sun (and the velocity and the gravity force vectors). The sun is still, it doesn't move, just the planet is moving. The planet …
Actually, those points which are D distance from noda A, form a sphere, so there are MANY (infinite) points in the space which could be node B. Choose x2 and y2 (both should be less than D), solve the equation for z2 and you have got node B. There is …
[code] int getdaysmissed(int num_employees) { int daysmissed=0; int totaldaysmissed = 0; while (num_employees>=1) { cout<<"Enter days missed: "<<endl; cin>>daysmissed; totaldaysmissed += daysmissed; num_employees--; } //!!!The function should return [COLOR="Green"]totaldaysmissed[/COLOR] instead of [COLOR="Red"]daysmissed[/COLOR]!!! return daysmissed; } [/code] And how many employees did you enter? Because the program should ask to enter …
The End.
HarryGabriel91