13 Topics

Member Avatar for
Member Avatar for scholarwithfire

Hello guys, is there any way to display variables from highest to lowest **without storing them into an array**? For example i got multiple variables *$numone = 500; $numtwo = 600; $ numthree = 700;* and i want to display it out base on their value. Any help is much …

Member Avatar for leviathan185
0
199
Member Avatar for Icemann
Member Avatar for Momerath
0
125
Member Avatar for bobytch

Good day to every one. First here is my code so far import java.io.*; public class Program2 { public static void main (String[]args) throws IOException{ BufferedReader bv = new BufferedReader (new InputStreamReader(System.in)); String a, b, c, x; Float d, e, f, g, h, i, j, k, l, m, ave; System.out.println("ENTER …

Member Avatar for bobytch
0
421
Member Avatar for KrossFaith

i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 int counter = 0; 08 09 …

Member Avatar for Lerner
0
365
Member Avatar for KrossFaith

i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array #include<iostream> using namespace std; int main() { int gradeRange [4]= {0,0,0,0}; int mark = 0; int counter = 0; while (mark < 101) { cin >> mark; if …

Member Avatar for m4ster_r0shi
0
287
Member Avatar for scarlettmoon

Hi ~ As you can see from the code below I am in school for programming. I have come across this homework assignment a few times on the site already however the requirements for mine are different. I cannot use arrays. Three functions - I only have two coded. The …

Member Avatar for scarlettmoon
0
150
Member Avatar for Feriscool
Member Avatar for pbl
0
83
Member Avatar for Goshutu

my program is made to enter a matix,in which it finds all of the column`s minimum numbers which are[COLOR="Red"] >0[/COLOR] and then put them under the last row.i have sucseded entering the array and puting it out,but i think my IF is wrong somehow.I have tried initialising the last row …

Member Avatar for Goshutu
0
188
Member Avatar for dwhite459

I am trying to write a program that allows the user to input positive integers between 0 and 1000 and then outputs the highest value and the lowest value. The user should enter -1 to signify the end of their input. I am supposed to use a loop to achieve …

Member Avatar for WaltP
0
6K
Member Avatar for erozero

Hi, my assignment asked me to make a 3 row, 7 column array that asked the user to input amount of food for 3 monkeys. 7 represents the number of days. It should tell the user the average, highest and lowest amount for this.. Here is what I've got so …

Member Avatar for erozero
0
173
Member Avatar for fugnut

Hello all, I have a project in which I need to open an external file which contains to columns of numbers ie: 1000 1000 1111 500 1500 1000 2000 900 2222 2000 2500 2000 3000 1500 3333 2000 3500 2000 4000 600 4444 2500 4500 2000 5000 2500 5500 2222 …

Member Avatar for mitrmkar
0
113
Member Avatar for bigdog1

Write a program that will read in 10 test scores. Print out all 10 scores, then print the highest score, and then the lowest score. Ok i got this so far but i do not know how to print the highest or lowest. [code] #include<iostream> using namespace std; int main() …

Member Avatar for Nick Evan
0
258
Member Avatar for kyumi419

how to make a program that will ignore the highest value and the lowest value, but will get the average of the remaining values.. for example: there are 6 inputted grades, then the 4 middle values should get their average.. and will ignore the highest and lowest..? :)

Member Avatar for dkalita
0
128

The End.