Questions tagged [highest]

134 questions
-2
votes
1 answer

How to find the lowest, highest and average values in a listbox

I'm trying to create a program that calculates and displays the highest, lowest and average value of items in a listbox (items generated from a txt file). I finally figured out how to load a text file to the listbox. I have been searching for clues…
Relaxsingh
  • 11
  • 5
-2
votes
1 answer

How to find highest ,second highest number, Lowest Second Lowest number from Array in PHP

Highest, second highest number and lowest or smallest and second lowest number from an array in php. $array = array('2','1','200','15','300','500','69','422','399','201','299');
lincolndu
  • 93
  • 1
  • 8
-2
votes
2 answers

Finding Highest , Lowest and the Average in a Cobol program

I am creating a program that is reading in a file which consists of companies and their information. It is supposed to read all the records in my file then display the companies with a 3.5 rating or higher with their information, then it is to…
s.marie
  • 15
  • 5
-2
votes
3 answers

get highest array value by key php

Array ( [0] => stdClass Object ( [question_id] => 5 [question_id_count] => 17 ) [1] => stdClass Object ( [question_id] => 8 [question_id_count] => 15 ) [2] => stdClass Object ( [question_id] => 9 [question_id_count] => 17 ) [3]…
deepu np
  • 31
  • 5
-2
votes
2 answers

selecting row with highest value and a join

Ho can i only fetch the rows with the highest cvID value? current code SELECT CollectionVersionBlocks.cID, CollectionVersionBlocks.cbDisplayOrder, CollectionVersionBlocks.cvID, btContentLocal.bID, btContentLocal.content FROM …
v3nt
  • 2,845
  • 6
  • 36
  • 50
-2
votes
2 answers

PYTHON STATISTICS AVERAGE AND HIGHEST SCORE

grade=[] names=[] highest=0 #taking number of calues cases=int(input('Enter number of cases: ')) for case in range(1,cases+1): print('case',case) #taking number of students number=int(input('Enter number of students: ')) for…
user3295864
  • 49
  • 2
  • 9
-2
votes
4 answers

How to output highest number out of 3 numbers?

Sorry if this seems like a stupid question, I'm rather new to Python. I need to create a program for a school project. The project outline says this: Students can earn their final mark in a course in two ways. First the course work can be worth…
-3
votes
1 answer

How do I calculate the average of an array of objects where the objects contain string and integer variables?

This is the code I have currently. Below is my object "Student" `public class Student { private String name; private int score; public Student() { } public Student(String name, int score){ this.name =…
-3
votes
2 answers

Matching 2 different lists with highest values in Python

Array_student = [Joe, Peter, Andy, Tom, Pat] Array_marks = [14, 9, 6, 8, 12] Find the highest marks in the array and print the name of the student with the highest marks. Without using any function such as max().
-3
votes
1 answer

Highest and Lowest Integer C++

when I run this program is a "Run-Time Check Failure #2 stack around the variable 'numGrades' was corrupted" appears. Also the lowest grade doesn't output the correct answer. Any help would be greatly appreciated! #include // cin,…
Be Great
  • 11
  • 4
-4
votes
4 answers

highest , lowest , and and the answer when subtracted in java

Write a program that accepts as many integers the user wants to input. Determine the highest and lowest numbers and subtract all other numbers from the highest number. I can't get the difference. I know there's missing here. please help me. import…
-6
votes
2 answers

How can I obtain which of this variables have the highest value?

I have to know which of these variable have the highest value: A=1 B=500 C=100 D=700 E=5 F=1000 Which is the easiest way to do this?
Pablo De Luca
  • 795
  • 3
  • 15
  • 29
-7
votes
7 answers

How to get the variable name with highest number in java?

I need the highest value among North, south, east and west and in result, i just have to return the name north, south, east or west. Highest value have to be obtained by comparing all the values of north, south, east and west. Below is my code…
jasim
  • 459
  • 1
  • 6
  • 24
-7
votes
4 answers

Finding the length of items in a Tuple (python)

I'm looking for a "for loop" that finds the length of each item and choose the largest number. >>>T=[chicken, soda, candy] >>>Highest = 0 >>>"for loop goes here" >>>print (highest) 7
jubjub
  • 27
  • 2
  • 4
1 2 3
8
9