By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,767 Members | 1,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,767 IT Pros & Developers. It's quick & easy.

Switch-Case Statement Help

P: 1
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
Nov 24 '07 #1
Share this Question
Share on Google+
2 Replies

P: 33
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
Dec 19 '07 #2

Motoma
Expert 2.5K+
P: 3,237
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
Dec 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.