Created
August 23, 2023 15:01
-
-
Save Hackathonwave/5b9ea63d7636a43314c71b4f380cb4e1 to your computer and use it in GitHub Desktop.
Uforo loves his Dad!
This file contains 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() { | |
int loveScore = Random().nextInt(100)+1; | |
print(loveScore); | |
if (loveScore >70) { | |
print('You love each other like Uforo loves Ekong'); | |
} | |
else{ | |
print('You like each other'); | |
} | |
} |
import 'dart:math';
void main() {
loveCalculator();
}
void loveCalculator() {
int loveScore = Random().nextInt(100)+1;
print(loveScore);
if (loveScore >70) {
print('You love each other like Uforo loves Ekong');
}
//else{
// print('You like each other');
//}
else if (loveScore >50 ) {
print('You like each other');
}
else {
print('You don't like each other');
}
}
import 'dart:math';
void main() {
loveCalculator();
}
void loveCalculator() {
int loveScore = Random().nextInt(100)+1;
print(loveScore);
if (loveScore >70) {
print('You love each other like Uforo loves Ekong');
}
//else{
// print('You like each other');
//}
if (loveScore >50 ) {
print('You like each other');
}
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
import 'dart:math';
void main() {
loveCalculator();
}
void loveCalculator() {
int loveScore = Random().nextInt(100)+1;
print(loveScore);
if (loveScore >70) {
print('You love each other like Uforo loves Ekong');
}
//else{
// print('You like each other');
//}
if (loveScore >50 && loveScore <70) {
print('You like each other');
}
if (loveScore <50){
print('You don't like each other');
}
}