info on computer languages?

Q. what are the most common computer languages today of those which is easier and what are the pro's and con's of each one?


Answer
Totally depends on what you want to do with it really. Different programming languages, even the ones that are considered 'general purpose' tend to be better suited to some jobs than others. That being said, if you're just learning programming,, you'll want to go with a general purpose language that has an easy syntax...that is, its relatively easy to read, even for someone who's never looked at code.

I recommend VB.net for that, and then after that Ruby. They both have easy syntax, (though Ruby's is better), but VB.net enforces some rules that are important for beginners to learn, whereas Ruby does not.

Once you've got the concepts behind one language down, you'll find that learning another one, even a relatively complex one like C++ or Java is much simpler.

Developing code for computer science?




Justin


Develop code using a conditional statement that allows a student to drive a car if he or she is over the age of 18.
Sorry, in java



Answer
EDIT: Sorry. I'm not to knowledgeable about java.

You didn't specify the language so in VB.net it would be:

If age > 18 Then
MsgBox("Drive Car")
Else
MsgBox("No Car")
End If

You would need to set the variable "age" to whatever you need the age to be.
In VB you can set a variable by typing " dim age as integer = [The Age You Need Here] "

If you want to get the info from a vb textbox, name the textbox and use this instead to set the age variable

dim age as integer = textboxname.text

I hope this helps. Have a great day!




Powered by Yahoo! Answers

Comments :

0 komentar to “info on computer languages?”
 

Sexy Lace Bikini

Leave little to the imagination in this super sexy booty short bikini transparent lace. Adjustable triangle top with peek-a-boo slits ties at neck and back. Matching ruffled booty shorts leave so little to the imagination! 90% Nylon 10% Spandex. Four way stretch means one size fits most. Unlined. Club Wear by Body Zone Read More

LG Scarlet

This event, which was attended by more than 200 media from Middle East and Africa, followed earlier events in Los Angeles and in London that drew celebrities for a mock premiere event to reveal the secret of “Scarlet, The Hit New TV Series,” which had been promoted through broadcast and online trailers.