Member Avatar
I am trying to sort averages of scores in a class by pupil, from highest to lowest. My data is stored in text files like this: ... Here is my code so far: ... I have worked out the averages however, I'm stuck on how I could sort these averages …
by psvmr in Software Development ()
Member Avatar
Create a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores.This application should check the number entered by the user to make sure it is a valid integer from 0 to 100. If a …
by jjones0150 -3 in Software Development ()
Member Avatar
Hi Guys, I'm Using Python 2.7.3 This is my txt file: How can i find the average/mode/max value of my txt file data and display it
by dumicom in Software Development ()
Member Avatar
Member Avatar
I'm really struggling with this assignment. Here's what I have to do: Write a program that uses an array to store 10 elements, representing 10 students' test scores that will be entered from the keyboard. Given the following grading scale (given in my if statements) determine the letter grade each …
by Emma_3 in Software Development ()
Member Avatar
My requirements are as follows: use main method use the following array- Write code to step through the array of grades and calculate the average grade. Modify your code so that while it is stepping through the grades, it also looks for the minimum grade. Modify your code so that …
by JRDJ12 in Software Development ()
Member Avatar
C++ program to find sum of marks entered by 30 students using for loop or while loop/
by super.sam1 in Software Development ()
Member Avatar
//write a program whih takes input until user enters a negative number. print the sum of given inputs. #include <iostream> using namespace std; int main () { int a[10]; cout << " enter numbers " << endl ; int i = 0 ; while ( i < 10) {while (a[i] …
by maiza.razzaq in Software Development ()
Member Avatar
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 …
by dlmagers in Web Development ()
Member Avatar
Im suppose to write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. I …
by suzyq888 in Software Development ()
Member Avatar
i am getting result of average in int instead of float, tell me where i have made mistake. this is the code.
by kamalashraf in Software Development ()
Member Avatar
I am trying to build a code that outputs user input a certain way. I need to take user input to store 10 statistics for 3 players over 2 games, and then have the code ask the user which player they would like to see. Instead of showing the stats …
by josh2006k in Software Development ()
Member Avatar
I am (student) just switched to linux working on NoC (noxim) simulator in ubuntu 12.04 c++ is supported assignment from university, I want to make a script that call my whole program multiple times (for loop= e.g 10) and want to take average value from the functions that were called …
by saadi068 in Software Development ()
Member Avatar
I am working on NoC simulator in ubuntu 12.04 c++ is supported, I want to make a script that call my whole program multiple times (for loop= e.g 10) and want to take average value from the functions that were called from other files. Should I create a new file …
by saadi068 in Software Development ()
Member Avatar
Hello, for some reason, I am getting a very weird negative nuber as my average for my program, here is my code: my output is :-6.84941e+061
by wschamps42 in Software Development ()
Member Avatar
Hello all. I wrote a program that gives me 100 random values from the range between -100 to +100. How am I supposed to find the minimum, maximum, and average of the values that will be listed when I run the program? I appreciate the help anyone can give me. …
by ralph.d.abernathy.1 in Software Development ()
Member Avatar
Hi double[] MyArray = new double[10]; I have 10 numbers and I get average of them. But how can print out how many of the numbers that are smaller than average, and how many of the numbers that are larger than average?
by tony75 10 in Software Development ()
Member Avatar
Hi, I have 2 datagridview. 1 to show TANTOU, TOTAL SUM of DURATION and COUNT of event happened. Another 1 is to show TANTOU, AVERAGE of DURATION and COUNT of event happened. I have use LINQ function to get the result. But how can i combine it so that i …
by lulu79 in Software Development ()
Member Avatar
Hello, I need help with code of sum and average, with a -100 to exit.
by mark.cueva1 in Software Development ()
Member Avatar
Combining queue and stack link list? hello so here is my question i ave to connect a link lists together, one who behaves like a stack the other like a queue.the numbers used are 11 22 44 77 33 99 66. so the stack link list looks like this 66 …
by superchica08 in Software Development ()
Member Avatar
So I am trying to write a program that will tell you the lowest grade and the highest grade out of the 3 wthat you put in and also tell you the current average you have in the class. I got the lowest and highest part taken care of but …
by 03Mach1 in Software Development ()
Member Avatar
Hello again. I am trying to create a simple code that can compute the average of a set of numbers read in using a scanner. The loop occurs but it won't end. I wanted the code to work like this: every time I enter a number that is not negative …
by jonny93 in Software Development ()
Member Avatar
hi for my programming class we have to write an average calculator program in any langauge we want. I did mine in Java and im fairly new to programming. the problem with my code is how can I improve it to make sure user's incorrect input ruins program. for example …
by newprogrammer12 in Software Development ()
Member Avatar
Hi, I've got a problem to average lines which have same name. For exemple: I would like to average values by fruit name. So, for pineapples, that easy, it's the average of the line. For strawberries, the average must be on the first and the last lines in this exemple. …
by Perlie in Software Development ()
Member Avatar
I'm having a problem getting the number of integers greater than the average in my array to display. I keep getting "You have 1 number greater than the average when there are 5 that are greater. Pls help!!! This is the code I've devolped so far:
by jiggaman77777 in Software Development ()
Member Avatar
I'm working on an a grading program that will require the use of a couple classes. The program contains a list of "program assignments" which there are 5, and 3 test scores. The Driver class contains the scores for the students. I'm stuck writing the average methods :$ Along with …
by ssmokincamaro in Software Development ()
Member Avatar
Hello all, I am having some trouble with my assembly code...still kind of new, but here it goes... The assignment is to desing an assembly program that uses a dialog box to prompt the user for a number. These numbers will be stored in an array. There will be an …
by txhornsfan in Software Development ()
Member Avatar
So ive been trying to get an average of this array needed, and I seem to be having trouble with it. So far, my current code just adds the numbers up, but doesnt really average them out at all: import java.util.Scanner; import java.util.Arrays; public class Grades { } } and …
by Bowsan22 in Software Development ()
Member Avatar
I wrote this code for an assignment that asked to create a program that calculates and displays the average of any amount of real numbers. The program is supposed to ask the user how many numbers they want to enter and then use a loop to ask the user to …
by FraidaL in Software Development ()
Member Avatar
This program determines the grade average, raised grade average, of individual students and all students. The program takes scanner input. In the scanner, the number of students, the number of grades for each student, and the grades of each student are entered. Ultimately, I need to print out each student's …
by LogicalOutlier in Software Development ()