Switch-Case Statement Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gooner
    New Member
    • Nov 2007
    • 1

    Switch-Case Statement Help

    Hey I'm new to linux, and for an assignment I have to make a switch case statement to output microprocessor workload. When the script is run it should output one of the following results:

    >83 - over work load
    >75 - medium work load
    >50 - average workload
    <50 - under working
  • rajarora
    New Member
    • Sep 2007
    • 33

    #2
    Originally posted by gooner
    Hey I'm new to linux, and for an assignment I have to make a switch case statement to output microprocessor workload. When the script is run it should output one of the following results:

    >83 - over work load
    >75 - medium work load
    >50 - average workload
    <50 - under working
    Hi,
    Could you please describe some details of the problem. I think only then it will be better reply.
    Regards,
    Raj Kumar Arora

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      Originally posted by gooner
      Hey I'm new to linux, and for an assignment I have to make a switch case statement to output microprocessor workload. When the script is run it should output one of the following results:

      >83 - over work load
      >75 - medium work load
      >50 - average workload
      <50 - under working
      Welcome to The Scripts gooner.
      There are two problems with your question: A) you have not described what language you are trying to do this in, and B) you have not posted the work you have already done.
      Please respond with those two pieces of information so that we may better help you.
      Motoma

      Comment

      Working...