No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
12 Posted Topics
I am getting a error of: Parse error: syntax error, unexpected T_STRING in /home/mprhode/public_html/lightbulb.php on line 1 I can't seem to find out the problem. Please direct me? [CODE]<?xml version = "1.0" encoding = "utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title> … | |
I am trying to switch this if...else statement to a Switch and I can not get the program to calculate. Please help? original if, else [code=cplusplus] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main () { int x, total=21; cout << "Input Number for … | |
Hi, I need help with a Golf Stats Program I am trying to complete. It is a dat file. My averaging functions are not working. Can someone suggest what I can do to correct the problems with both averaging functions? main [code=cplusplus] #include <iostream> using std::cerr; using std::cout; using std::cin; … | |
I am stuck on a problem. I am given code and I am suppose to do the follwong sway fucntion. The last three lines of code in the function selection_sort perform an essential operation that is commonly found in sort algorithms. Replace those three statements with a call to a … | |
I am trying to get my 2d array to total up values. It is laid out perfectly, but my values do not calculate. Is my math wrong? Please help?? [code] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main() { const int DAY = 7; … | |
I am trying to solve a problem from a lab challenge. I can not get the program to compile correctly. Please look over and let me know where I need to be looking to solve this Use a two-dimensional array to solve the following problem. A company has four salespeople … | |
I am trying to write a function that will read one value of an array. I must prompt the user for an index and then read the its value. I am having a horrible time and need help. [code] // read_one_value(A, n) prompts the user for an index i and … | |
I need to create a program that is a table to convert between centigrade and fahrenheit temperatures. My solution must must utilize functions to perform the conversions. Requirements: 1. One of the functions must use pass-by-value, returning the converted measure 2. One of the functions must use pass-by-reference to store … | |
I have assignment and need help determining if I am correct. The question reads: a.Write a function that determines whether a number is prime b.use the function to determine and print out all prime numbers between 2 and 10,000. [B][U]How many numbers to you have to test before being sure … | |
I need to build a simple integer caluclator that perform arthmetic functions of addition, subtraction, multiplication, modulus and disvision. The calculator contains an Accumulator that stores the current result. The Accumulator is also involved with each operation. Make sure that you define a class for this program. Once started, the … | |
Name: Mary Pat Height: 5'5'' Weight: 135 Hair: Blonde Eyes: Hazel Location: FL Age: 49 11/12 Hobbies: Sports; Harness Racing; Boxing; Hockey I love camping and boating. I mostly love Disney anything Disney!!! Relationship Status: Single (Divorced) Fav Music: U2, Greenday, Springsteen, all music accept country! Education: APS- Computer Studies … | |
Hello, I am trying to create a program that asks a user to input a integer. That integer will dispaly "*" (i.e. enter 4 diplay - ****) This is what I came up with so far to no luck! [code]#include "stdafx.h" #include <iostream> using std::cout; using std::cin; using std::endl; int … |
The End.