Skip to content

Instantly share code, notes, and snippets.

@Chinecherem20199
Created May 31, 2022 19:28
Show Gist options
  • Save Chinecherem20199/05b5e81fea2bd6e84491f5bf18a72833 to your computer and use it in GitHub Desktop.
Save Chinecherem20199/05b5e81fea2bd6e84491f5bf18a72833 to your computer and use it in GitHub Desktop.
Love Random Calculator
import 'dart:math';
void main() {
loveCalculator();
}
void loveCalculator(){
int loveScore = Random().nextInt(100) + 1;
print(loveScore);
if(loveScore > 70){
print('Make enough love today');
}
else if(loveScore > 50 && loveScore < 70){
print('Just do only kiss');
}if (loveScore < 50){
print('No love today');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment