Created
April 17, 2020 09:43
-
-
Save geektutor/1067fb6d7ec3486d22449e440efecebf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
void main() { | |
loveCaculator(); | |
} | |
void loveCalculator() { | |
int loveScore = Random().nextInt(100) + 1; | |
print(loveScore); | |
if (loveScore > 70){ | |
print('You love each other'); | |
} | |
else { | |
print('You like each other'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment