# Need a little help

**URL:** <https://community.unix.com/t/need-a-little-help/337513>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [December 8, 2013, 7:13pm UTC](https://community.unix.com/t/need-a-little-help/337513 "2013-12-08T19:13:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iGakki](https://community.unix.com/letter_avatar/igakki/32/5_5575768a8748004e209b776fc1b2916d.png) [@iGakki](https://community.unix.com/u/iGakki)\
**Post date:** [December 8, 2013, 7:13pm UTC](https://community.unix.com/t/need-a-little-help/337513/1 "2013-12-08T19:13:12Z")

</div>

thx for reading first, i got some problems with my assignment,  
this is the requirements of my assignment:  
The program calculates and displays the largest and average of a group of input numbers.  
The program should accept the input of a group of numbers, one at a time, each can be up to 2 digits, ended with a 0, and find and display the largest and the average of all valid input numbers (excluding the ending zero). For example, input of 46, -31, 6, 10, 12345, -4, 274 and 0 should result in 46 as the largest and the average of 5, with error messages indicating that 12345 and 274 are invalid.  
Any invalid input character (eg. #, a, %, A, etc.) or number exceeding the range should cause an error message and be ignored.

my question is we didnt learn anything about the data type in unix yet, but i find some similar assignment they all use "@", what is "@" means in unix and is there any other ways to deal with this problem but not use "@"  
regards~

---

<div class="post-metadata">

**Author:** ![neutronscott](https://community.unix.com/user_avatar/community.unix.com/neutronscott/32/2331_2.png) [@neutronscott](https://community.unix.com/u/neutronscott)\
**Post date:** [December 8, 2013, 8:05pm UTC](https://community.unix.com/t/need-a-little-help/337513/2 "2013-12-08T20:05:36Z")

</div>

There is a homework section. Post in there. Read this first: [Rules for Homework & Coursework Questions](http://www.unix.com/showthread.php?t=113751)

It would also help a lot if we knew what sort of language this program is to be in, and give your thread a useful title. #6 and #11

[RULES OF THE UNIX AND LINUX FORUMS](http://www.unix.com/misc.php?do=cfrules)
