Group of test scores


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Group of test scores
# 1  
Old 06-02-2010
Group of test scores

Well being a newbie I am hope I am doing the right thing. Here is what I am trying to do. I want to prompt the user to enter a group of test scores. Then calculate the lowest and the highest overall average. Then put on the screen the three items lowest highest overall average and total number of scores supplied. Ask if any more to process. If so preform the operation again. If not exit. I am using a copy of Ubuntu to write scripts and I am using 0 to 100 for the scores. I need a script to run on command line on Ubuntu.Linux I think. I hope you can help. Thanks
# 2  
Old 06-02-2010
Why did you open another thread?
What's wrong with my solution I've posted here: https://www.unix.com/unix-dummies-que...st-scores.html
Did you even try it?
Are you not satisfied?
Having that said, this is a homework, right?
# 3  
Old 06-02-2010
I had written you about how Perl was over my head. The solution you posted was fine but I am trying to learn out of an old book on my own and just was looking for some help. I thanked you and was not trying to make you mad. I am sorry If I made you mad. I am 54 years old and am trying to learn something new. I did not think that asking for help would upset some one so much.
# 4  
Old 06-02-2010
PHP

Quote:
Originally Posted by rcbrown
I had written you about how Perl was over my head.
That's simply not true, why do you lie to me brazenly Smilie
I was neither mad nor upset by now!
Quote:
Originally Posted by rcbrown
...but I am trying to learn out of an old book on my own and just was looking for some help...I am 54 years old and am trying to learn something new...
https://www.unix.com/shell-programmin...pt-please.html

No comment. EOD
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Create combinations based on scores

Hi experts, I have a score matrix like below, where the 3rd column ( 1 max, 0 min) says how close the 2nd column variable is to the 1st column variable a b 0.3 a c 0.87 a d 0.75 b x 0.67 b y 0.98 b z 0.24 c ... (4 Replies)
Discussion started by: jianp83
4 Replies

2. Shell Programming and Scripting

Calculating the average of scores

Hi I have 2 files file1 aac 23 25 aac 87 90 aac 33 67 file2 23 0.9 24 0.8 25 0.4 ........ 67 0.55 ........ I want to get output as (11 Replies)
Discussion started by: anurupa777
11 Replies

3. Shell Programming and Scripting

Selecting sequences based on scores

I have two files with thousands of sequences of different lengths. infile1 contains the actual sequences and infile2 the scores for each A, T, G and C in infile1. Something like this: infile1: >HZVJKYI01ECH5R TTGATGTGCCAGCTGCCGTTGGTGTGCCAA >HZVJKYI01AQWJ8 GGATATGATGATGAACTGGTTTGGCACACC... (4 Replies)
Discussion started by: Xterra
4 Replies

4. UNIX for Dummies Questions & Answers

Enter a group of test scores

I'm trying to write a shell:b: script that would calculate my class average from exams. Ineed to calculate the lowest and the highest scores as well overall average. (3 Replies)
Discussion started by: rcbrown
3 Replies

5. Shell Programming and Scripting

How to check weather a string is like test* or test* ot *test* in if condition

How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies

6. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

This is the code: while test 1 -eq 1 do read a $a if test $a = stop then break fi done I read a command on every loop an execute it. I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test. For example echo hello. Now the... (1 Reply)
Discussion started by: Max89
1 Replies

7. Post Here to Contact Site Administrators and Moderators

My game scores are not recording

Hi. I scored 38 on the hex game and it would not record my score. Strange. (2 Replies)
Discussion started by: MokoMoko
2 Replies

8. Programming

Calculate scores and probability -- Syntax issue

Hi, I am totally new to C programming on Sun Solaris environment. I am an active member on the UNIX forum and a good shell programmer. I am trying to achieve some calculations in C programming. I have the pseudo code written down but don't know the syntax. I am reading a couple of books on C... (4 Replies)
Discussion started by: madhunk
4 Replies
Login or Register to Ask a Question