@AtlantaFalcons/

Dog Age Calculator

JavaScript

No description

fork
loading
main.js
1
2
3
4
5
6
7
8
9
let myAge= 1
// EDIT THE NUMBER TO ANY NUMBER

let earlyYears = 2
earlyYears = 10.5 * earlyYears
let laterYears = myAge -2
laterYears = laterYears * 4
const myAgeInDogYears = laterYears + earlyYears
console.log(myAgeInDogYears)
Native Browser JavaScript