No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[code=C++] // //********************************************************************************** //File Name: averages.cc //Description: Calculate the smallest, largest, and the average of the input values. //Date: 10-6-09 //********************************************************************************** #include <iostream> #include <string> using namespace std; int main() { string line; int min=2000000; int max=0; double avg; int next; double sum = 0; double count = 0; cout.setf(ios::fixed); … |
|
[code=c++] // #include <iostream> using namespace std; int main() { int age; int weight; int height; cout << "Enter your age." <<endl; cin >> age; cout << "Enter your weight (in inches)." <<endl; cin >> weight; cout << "Enter your weight (in pounds)." <<endl; cin >> height; if ((age >= … |
|
Hey everyone, i'm new to the site and i'm lookin for some help on this program i have to write. I am 100 percent a beginner and don't really know what i'm doing. I need to write a short program that reads in the height at which the ball is … |