Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prompt("Enter First Name");
- prompt("Enter Second Name");
- var loveScore = Math.random() * 100;
- loveScore = Math.floor(loveScore) + 1;
- if (loveScore > 70) {
- alert("Your love percentage is " + loveScore+ "%" + " You guys are inlove");
- } else {
- alert("Your love percentage is " + loveScore + "%");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement