Last active
May 4, 2020 04:57
-
-
Save vinod1988/07ac067c26279e9d288e75e04966d4ed 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() { | |
loveCalculator(); | |
} | |
void loveCalculator() { | |
var loveScore = Random().nextInt(100)+1; | |
print(loveScore); | |
if( loveScore > 75) { | |
print('You like each other like vinod and angelina'); | |
} | |
else if(loveScore > 50 && loveScore < 70) { | |
print('You like eacher'); | |
} | |
else { | |
print('You don\'t like each other'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment