StefiIOE

1.3

Nov 3rd, 2020
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'use strict'
  2.  
  3. var readline = require('readline');
  4. var rl = readline.createInterface({
  5.     input: process.stdin,
  6.     output: process.stdout,
  7.     terminal: false
  8. });
  9.  
  10. rl.question('', (p1) => {
  11.         p1 = Number(p1)
  12.  
  13.         console.log(howManyStickers(p1))
  14.  
  15.         rl.close();
  16.  
  17. });
  18.  
  19. // DO NOT CHANGE ABOVE THIS LINE!!!!
  20.  
  21. function howManyStickers(n) { // Write this function
  22.  
  23. return n*n*6;
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
RAW Paste Data