Community Profile

photo

Dylan Zeigler


Virginia Polytechnic Institute & State University

Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to use if statements with arrays?
I am trying to use an if statement with an array, x = 1:1:4 if x > 2 y = x + 1 else y = x - 1 end I want the resultin...

11 years ago | 1 answer | 0

1

answer