Advertisement
Valeri173

Untitled

Jun 10th, 2021
952
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.09 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cnt=0
  4. for arg in $@; do
  5.   if($((num%2)) -eq 0)
  6.   cnt++;
  7.   fi
  8.  
  9. echo cnt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement