English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How can I write this statement in computer language?

The Dallas Cowboys are going to the super bowl this year. No team can match there skill, that's why there the best!

2006-08-26 17:58:53 · 5 answers · asked by robhowell27 2 in Computers & Internet Programming & Design

5 answers

This isn't the sort of thing that'd you'd tell a computer. Computers generally want instructions, not opinions.

Having said that, the first part is easy.

DallasCowboys.send(SuperBowl);

The next part is problematic, but I'll ask the computer what the best team is:

sort teamlist by skill;

if (teamlist[0] == DallasCowboys) {
print "Woohoo! The Cowboys are the best!!\n";
}

Okay, there you go. Good luck with the compiler!

2006-08-26 18:07:06 · answer #1 · answered by arbeit 4 · 0 0

How about some old-school GWBASIC?

10 CLRSCR
20 PRINT "The Dallas Cowboys are going to the super bowl this year. No team can match there skill, that's why there the best!
30 GOTO 20

2006-08-26 18:05:56 · answer #2 · answered by chemicalimbalance000 4 · 0 0

what computer language?
asp, .NET, java, C++, pascal, SAP, SQL, etc..
this is the code in c++
#include

int main()
{
std::cout << "The Dallas Cowboys are going to the super bowl this year. No team can match there skill, that's why there the best!\n";
}

2006-08-26 18:02:23 · answer #3 · answered by Paultech 7 · 1 0

i think if you cant do that you are a noob,rookie and lamer..........and in this case you shouldnt be asking this overhere....go for some books on programming.........btw the think you asked if the first and foremost example of programming example in each and every programming book and is called "hello world" problem.........ha ha

2006-08-26 18:30:41 · answer #4 · answered by DeAd MaN 4 · 0 1

I'm not sure what you mean. You want it translated into the ASCII numbers?

2006-08-26 18:02:16 · answer #5 · answered by shadowkat 5 · 0 0

fedest.com, questions and answers