#this code can work across several different langauges because if statements are basically universal
Explore tagged Tumblr posts
Photo
Uber here’s your code right here:
// if the time is passed 10pm military time, the current location is a bar, and the interaction time is longer than 5 mins, the following if statement executes.
if (current_time > 22 && location == bar && user_interaction_time > 5.00) {
passenger_drunk = true;
}
There you go that’s it that’s your AI right there that’s literally all it takes, who knew AI was this hard
That’s not AI.
#idk why this made me usually salty#maybe because im reading machine learning AI books#and that thats a very stupid thing to call an AI#literally through this is java and declare your variables and thisll work#technically this code will also work in C++#this code can work across several different langauges because if statements are basically universal
165 notes
·
View notes