PDA

View Full Version : I need help with programming, it's emergency please



oaleisa
February 5th, 2011, 11:18 PM
السلام عليكم

احتاج مساعدتكم في كتابه برنامج. السؤال هو كالتالي :

انا استخدم سيرفر ouray و البرنامج عن طريق اللينكس


Write a program that asks the user for their favorite number. After the number has been provided, print a message telling the user if it is smaller or larger than 10. The output of the program should look like:

What is your favorite number? 100
Your favorite number is greater than 10!

- Or -
What is your favorite number? 7
Your favorite number is less than 10!

- Or -
What is your favorite number? 10
My favorite number is 10 too!

تكفون انتظر ردكم بفارغ الصبر ,

GregBrannon
February 5th, 2011, 11:23 PM
We're not allowed to help with homework here, but there are places on the internet that will help you IF you make an effort. You didn't say what language you are learning, but DreamingInCode (Google it) offers help for most of the major languages.

oaleisa
February 6th, 2011, 08:31 AM
OK I'm sorry..

how can I transfer or copy a file from linux to my computer, for example to my desktop ?

I use C++ language in Linux..

I have known I should use this command:

scp host name : /system/ oaleisa / file name

but it didn't work with me.