I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the loop_tester.php and below that is the code for my index.php. I am trying to add a switch statement to the index.php file that will sets values for only the average calculation if the user selected the "average" radio button, only the total calculation if the user selected the "total" radio button, both the average and total if the user selected the "both" button. After the user puts in the scores and then selects either 'average','total','both' it should display …

Member Avatar
Member Avatar
+0 forum 3

I'm having trouble with a couple of things in my program. I want to create 3 different players and then record their scores to a file called highScores.txt I need to also come up with another game that features an array in it (i would put this in the place that says //ARRAY GAME WITH point values here)...this game should just like the other two games have point values. Also, I tried creating one of the players and I get a compiling error that says: project2.cpp:131: error: ‘x’ was not declared in this scope project2.cpp:169: error: ‘x’ was not declared …

Member Avatar
Member Avatar
+0 forum 1

I am trying to create a powerpoint quiz that tallies the scores, provides the results e.g. 95 out of 100 and the percentage %, then writes the users name and results to an excel spreadsheet. Oh, and all this has to be done using Office 2007 products. Can anyone help? So far I have: Dim UserName As String Dim numberCorrect As Integer Dim numberWrong As Integer Sub YourName() UserName = InputBox(Prompt:="Type Your Name!") MsgBox " Welcome to the Mortgage Servicing Assessment - Session 1 " + UserName, vbApplicationModal, " Mortgage Servicing Assessment" End Sub Sub Correct() MsgBox " Well Done! …

Member Avatar
+0 forum 0

[CODE]int initScoreX; int initScoreO; int oldScoreX; int oldScoreO; int newScoreX; int newScoreO; int ScoreBoard(char Player) { int ScoreBoardPositions[99]; //counting all the way to 99 //let's say X won that round, so I add 1 to the old score oldScoreX + 1 = newScore; //let's say the new score is 16 //how can I translate that into the board, is a two digit board 10 images 0-9 }[/CODE] So my noob question is what is the best way to do this?

Member Avatar
Member Avatar
+0 forum 1

i was wondering if this was an efficient way to achieve the objective or not, some advice on the matter is much appreciated. the objective is to define a function to determine the standard achieved by a participant taking a physical fitness test. The standard is determined based on the individual and total scores for 3 stations. gold is at least 4 at each station and a total of 13 or more. silver is at least 3 at each station and a total of 10 or more Pass is at least 2 at each station and 7 or more in …

Member Avatar
Member Avatar
+0 forum 1

The End.