Im a bit green, need help

Hey everybody I'm new around here so yeah. Anyways.
I'm taking computer science in highschool and we havent gotten to algorithms yet or anything like that and i was wondering how i would go about doing this assignment we just got.
Write a program that will take a user supplied quantity of numbers and sort them from least to greatest. The list of numbers will also be entered by the user in no certain order and will range from 1 to 100. No numbers can be repeated and the list cannot contain more than 100 numbers.
The program should prompt the user for the quantity of numbers in the list and for the numbers in the list. For example:
Enter the quantity of numbers in the list:
10
Enter the list of 10 numbers
31
7
97
23
59
1
65
57
19
37
The output should look like this
There are 10 numbers in the list. The list in ascending order is:
1
7
19
23
31
37
57
59
65
97
if anyone could help me out that would be most appreciated.

borisAwesome wrote:
we didnt get any notes. this is an extra credit lab and the teacher decided to dump this on us and give us no helps or hints except for a quick "be resourceful" speech in oh so many words. hahaha but im looking at it and i can see ways of doing this but they are all very long and tedious. i was just wondering if there were an easier way.Start with doing it the long and tedious way. When that's working, see what you can do to improve the design. Be resourceful. ;o)
~

Similar Messages

  • HELP!! Complete hard drive crash on IQ826t. Now running Windows 7/32 bit. Need help to rebuild all.

    Hello,
    Pulling my hair out over a complete hard drive crash. I had a new drive installed and also Windows 7/32bit. I was able to recover most of my things from external back-up, but lost all that it takes to run the Touchsmart portion. I'm not a computer Geek but would sincerely appreciate any info to bring back my Touchsmart. I've contacted customer support and little can be done ( or so they say ) now that the warranty has expired.  Has anyone had the same problem?
    Many thanks.

    Has no one actually suggested going to hp.com and downloading the updated files for your model? The Touchsmart apps for Win7 are all listed there for download.

  • Hello i need help looking for fire fox 64 bit i have 32 bit it really slowing down my laptop

    hello I was told there was a 64 bit that I can use for fire fox iam using windows 8.1 but I can only find fire fox 32 bit I need help to get 64 bit plz and thx

    locking this question as duplicate, please continue at https://support.mozilla.org/en-US/questions/1047357

  • Need help with adobe flash player 10.2 keeps crashing

    ok i am having a problem with the adobe flash player ten it keeps crashing on firefox ie8 and google chrome
    operating system is windows xp  32 bit
    really need help because this has been going on for 3 weeks straight  and i downloaded the adobe flash player from the adobe site
    i have uninstalled it 3 time and reinstalled it 3 time
                                                                                                                                                                  need help ASAP!!!!!!!!!!!!!!!!!

    Hello,
    Please try the following way:
    1.Open "Start", then in the "Start Search" bar input "regedit", then click "Enter"
    2.In the opened "Registry Editor", find the key "HKEY_LOCAL_MACHINE -> SOFTWARE -> Macromedia -> FlashPlayer -> SafeVersions" and delete it.
    3.Download the latest Flash Player from http://get.adobe.com/flashplayer/, and install it.
    Thanks

  • Need help with new itouch

    Please bare with me, while I 'try' to explain.
    I have my itunes account linked to my iphone and macbook. I have bought my daughter an itouch for Xmas. Now I have set up a seperate itunes account for her on my other Windows laptop. So she is able to purchase apps without them going and clogging up my itunes... NOW this is the bit i need help with...
    How can i transfer any music i have on my itunes to her itunes? and vice versa?
    Thanks in advance

    Right, I have now gone down the line of setting up a new user on my macbook, her own ID and then with the help of Mr google, I followed the steps of sharing my music, by moving my itunes media folder to a shared folder.
    Now i got my music on her itunes libary but when i did a test download of an app, it wont show in the library. I have even done the 'transfer purchases'. and its still not showing. I am slowing loosing the will to live with it! I really need help.

  • HT1222 I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed.  Your systems has not been modified."  I NEED HELP, PLEASE!

    I am trying like **** to download itunes 10.6.3 (64 bit - Windows 7) and I keep getting "the installer was interrupted before the requested operations for iTunes could be completed.  Your systems has not been modified."  I NEED HELP, PLEASE!

    I got it figured out myself... yaaaaay for me!

  • I forgotten my bit locker password and recovery key.i need help .................

    i lost my bit locker password and i lost recovery key,i need help ..please help ......such important things are there in my e drive....pls mail me [email address redacted]

    Unfortunately if you lose the password and the recovery key you are not able to decrypt and access the information, that is the sole purpose of BitLocker.
    Blogging about Windows for IT pros at
    www.theexperienceblog.com

  • Need help to install Windows XE 11g R2 on windows 7 64 bits

    Hi, guys:
    I need help as a newbie to install Windows XE 11g R2 on windows 7 64 bits. I installed it without problem, but I cannot run get started. When I click the get started after start the database, I got a message from browser as : Oops! Google Chrome could not connect to 127.0.0.1:8080. So I check threads on forum, and tried with commands:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\Sam>tnsping xe
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 19-OCT-2
    012 10:15:34
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Message 3511 not found; No message file for product=NETWORK, facility=TNSTNS-035
    05: Message 3505 not found; No message file for product=NETWORK, facility=TNS
    C:\Users\Sam>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 19-OCT-2012 10:16
    :07
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-125
    57: Message 12557 not found; No message file for product=NETWORK, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=NETWORK, facili
    ty=TNS
      TNS-00527: Message 527 not found; No message file for product=NETWORK, facilit
    y=TNSThe content of listener file (C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN) is as follows:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = arnold-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)The content of TNSNAMES.ora is as follows:
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = LSGPCDELL790-2)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
      ) Is there anything I was missing? I am much obliged to anyone who give me a hint.
    Thanks a lot!
    Edited by: lxiscas on Oct 19, 2012 8:26 AM

    For windows, first step ensure the services got created.
    Start/Run/services.msc and click on the Standard tab (for slightly less clutter).
    There should be 4 or 5 oracle entries, only two matter. The database instance service, ...ServiceXE and the listener ...TNSListener the others are not relevant for an XE install.
    If the user that ran the installer program is not in the local administrators group, as stated in the install requirements documentation, more than likely the services did not get set up and the database won't exist.
    If the services are there, try connecting and check the instance status. In a command box (Start/Run/cmd):
    sqlplus /nolog
    connect system
    Password: <the system password entered in installer dialog ... >
    ... Connected.
    select status from v$instance;
    ... OPEN ...
    If you get that far, might be something not quite right with the networking configuration, several things can prevent the Apex web pages (http://...:8080...) from working.
    As far as your configuration files, the client (tnsnames.ora) has a different value for the host than your listener.ora. So one, or both, of those could be incorrect. Check the command box hostname output, ipconfig /all, a few things might need adjustment.
    The tnsnames.ora only matters for making sqlnet connections via a tnsalias. The tnsalias could be anywhere, including on your local hostname. To use a tnsalias, add it to the a connect after the '@' symbol, i.e. connect system@xe to get a connection to your XE specified in the tnsnames.ora file.
    If you want to change the listener configuration, the first thing to do is stop the listener, then make adjustments in the listener.ora, start the listener, and sqlplus ... connect system .... alter system register; to get the instance registered with the listener.

  • Need Help to re-download my Photoshop Elements 12+Premiere Elements 12 to a new laptop Win-8 64-bit

    When I purchased the special deal of Photoshop Elements 12+Premiere Elements 12, I owned a Windows Vista (32-bit) laptop. When I downloaded my purchase, all went smoothly, no problems w/Photoshop when I used the mouse's wheel-scroll feature, it helped me zoom in to specifically pinpoint areas in pictures t/b fixed, etc.
    I now have a NEW laptop ... Windows 8 (64-bit). I re-downloaded my Photoshop Elements 12+Premiere Elements 12 onto my new one. Options to download the Premiere Elements showed I should use the "bottom" option to download for Win-8/64-bit - did that w/no problem. There were NO OPTIONS showing that the Photoshop Elements 12 had to ALSO be using a specific way to be downloaded? Consequently, I think (?), the problem that I'm having in using the mouse's wheel-scrolling feature may have been affected by using the "normal" format to download???
    So here's my question:  Because I bought this combined deal, should I have ALSO used the bottom option showing installation for 64-bit Premiere Elements 12??? I WOULD APPRECIATE A TIMELY RESPONSE - NEED HELP ON GETTING MY PHOTOSHOP WORKING PROPERLY, NOW!
    Thank you in advance for any help/suggestions that can resolve my frustrating experience on this!
    Léona Buckner
    [email protected]

    Oops!!!! I accidentally found my answer within my Photoshop Elements 12 "Preferences" folder! Only one part of my question remains --- what about how to download it as a 64-bit option, or does it matter at all?
    Sorry to have panicked about this, but when I started using it, the cursor movements seemed unstable so I thought it was because of downloading for a 32-bit instead of my current OS-64bit!

  • Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Thanks

    Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Here's the example:
    WING
    GAMES
    MAJORITY
    Thanks

    If the third link you posted (the link containing the word "majority") does not look like the following then you inadvertently installed adware.
    That particular page should resemble the following:
    The word "majority" in the third paragraph should not be a link and should not have the green icon associated with it.
    To learn how this may have occurred, and how to prevent it from occurring in the future, read How to install adware
    Most so-called "news" websites are nothing more than entertainment outlets that cater to prurient interests, and contain advertisements that leave the user about three clicks away from installing junk. If you decide to frequent those websites, Safari's "Reader" feature helps minimize that exposure.
    Try it:

  • Need help getting Adobe OnLocation CS3 to work with windows 7 64 bit. Any ideas?

    Need help getting Adobe OnLocation CS3 to work with windows 7 64 bit.  The program installed ok and the S/N took.
    The program does record video and audio HDV M2T.
    The problem is video doesn't display or play back on the monitor component @ 16:9 or 720 p.  4:3....
    The scopes respond as do the audio components when recording. (with a blank monitor component).
    The video does play back on my system no problem.
    Any ideas?
    Dan

    Moving the discussion to OnLocation
    Thanks,
    Atul Saini

  • Need help with representing 2 bits of data in a column

    I Need help representing only 2 bits of data in a column in order to save space.
    Is that possible?

    CommitMan wrote:
    I Need help representing only 2 bits of data in a column in order to save space.
    Is that possible?Yes - using Assembler....
    If you need to count bits to save space, then you must be on 70's, or early 80's, hardware. So using Assembler should not be a problem. Let me guess.. a 8051 microcontroller from the 1980?
    Here's what the 8051 code and memory optimisation manual says:
    >
    The simplest and best way to get dramatic improvements
    in efficiency is to look for all variables that will have only
    binary values (0 and not 0), and define them as type 'bit‘:
    bit myVar;With bit variables, the full set of 8051 bit-level assembler
    instructions can be used to generate very fast and
    compact code. For example, the following C code:
    myVar = ~myVar;
    if (!myVar)
    }Generates only two lines of assembler:
    B200    CPL myVar
    200006  JB myvar,?C0002This example uses only 5 flash bytes and 8 CPU cycles.
    When you use bit variables, you can implement a
    nontrivial line of C code with just one assembler
    instruction.
    >
    <i>PS. Yes, the above is really from a manual for a real 80s microcontroller. And yes, I'm poking fun at your question as saving bits were a problem in the 80s and prior. It should not be a problem in the 21st century information system and database.</i>

  • I can't sign in to game center in the mac i type in the password and it takes me to a blank green screen need help?

    i can't sign in to game center in the mac i type i the password and it takes me to a black green screen i need help?

    I have the same problem on my Mac OS X V 10.9.5. and its just 1 month old.
    have tried almost everything. But it looks like it's on Apple's side because there are other people with other devices (Iphone & Ipad) having the same problem.
    screenshot:

  • Need help in creating a 16gray levels 4 bit IndexColorModel.

    Hi ppl,
    Really need help with the above mentioned. I have reduced a 256 gray level .PGM image to 16 gray level (not using JAI). However, I'm having lots of trouble trying to create the image. It always comes out too dark. Does anyone know what the problem may be? Could it be that I'm using the wrong ColorModel?
    Am currently using the follow code
    static {
    grayPallete1=new byte[16] ;
    for(int i=0; i<16; i++) grayPallete1=(byte)i ;
    public ImageData(byte[] pmap, int r, int c){
    bpels = pmap ; irow=r; icol=c;
         int i = 0;
         clrmdl= new IndexColorModel(4,16,grayPallete1,grayPallete1,grayPallete1) ;
    Any help is greatly appreciated!
    Rgds,
    Dam
    Message was edited by:
    Damy
    Message was edited by:
    Damy

    Hi Suman Sarkar,
    I am a little confused about the layout of your waterfall chart, could you please post some dummy chart here, with a clear
    understanding with the issue, we could give some solution or workarounds, the steps of uploading the picture are following:
    1.      
    Upload the picture to a website
    http://skydriver.live.com 
    2.      
    View the picture in the website.
    3.      
    Right-click the picture, and then select “Copy”
    4.      
    In reply window, select “Paste” to paste the picture into a post.
    If you have any question about the steps, please feel free to ask.
    Regards,
    Challen Fu

  • Need help with effect!

    I need help with the following:
    I am currently making a Harry Potter short film and I'm doing a spell that hits my friend and my friend needs to be blown backwards (if you know what I mean, he needs to like kinda fly backwards because of the force from the spell).
    Can you in anyway help me with this or give me an idea on how to proceed?
    I've been thinking of setting a green screen up where the person jumps backwards on a mattress or similar.
    Thank you so much, I really hope you can help me.
    I have been searching the web for a long long time and didn't find any answer.
    Contact:
    Reply here
    Skype: asgerrockz

    Be careful here. Someone yanking on another person rigged with a professional harness can suffer permanent spinal injury. I have a home and a family and I wouldn't attempt even a simple version of this kind of stunt without a rider on my liability policy, a professional and therefore bondable stunt coordinator, and a trained stunt person. No offence Todd but I'd never yank someone backward by a wire or cord attached to their torso.
    You can do this very gently by having the actor just throw out their arms and jump backwards a bit then do the majority of the move in AE. Having the camera on a simple slider would also help. As the actor jumps back dolly the camera back on a slider.
    I've been shooting and producing films for more than 40 years when not one injury on the set except for me. Fractured my L2 and L3 vertebrae on a fall with a SetadyCam in 1975 because we didn't do a thorough enough safety briefing. Don't just try and do something you think you have seen on YouTube without some serious planning. There's no need for anyone to get hurt on a set.

Maybe you are looking for

  • URGENT: Selecting only 25 records at a time from a table

    URGENT !!!! Hi, Im having a RFC which selects records from a table (say table_A) and depending on these selected records, further processing is done within that RFC. Now my problem is, this table_A contains around 200 matching records. Due to this en

  • I can't place the content of a variable in a TextField

    Hi. I have a TextField made at authoring time. I need to place the content of a variable in a TextField. The variable counts the clicks and i want to display the sum in a TextField. Here is the code I made: var limit:Number=29; var count:Number=0; va

  • Uix: including multiple templates

    Hello, I have a common template - which defines the tabs, branding and other common features. For every tab I have three sub-tabs (page headers). Each page header will have its own side nav items. This is what I am trying to do and I do not know if i

  • DCOM connector: could not load dll

    When I want to add a dll file (created with DCOM connector) to the component services, I get an error 'could not load dll, check to make sure all application runtime files are present etc'. This only occurs with a dll created on another machine (but

  • Legacy system

    hi all Can i get to know what does one mean by a legacy system  ? why is SAP R/3  termed as a legacy system ? Thanks Shalabh