Printing Plan Calculator X42240


Statement
 

pdf   zip

html

Input

The input value will be a positive integer value representing the number of pages that user prints per month.

Output

The output will be the name of the best plan for that user and the price per month that the user must pay.

Public test cases
  • Input

    15
    

    Output

    Plan in order to print 15 pages per month:
    Free.
    Price: 0 Euros.
    
  • Input

    450
    

    Output

    Plan in order to print 450 pages per month:
    Business.
    Price: 19.99 Euros.
    
  • Input

    1400
    

    Output

    Plan in order to print 1400 pages per month:
    Not available.
    Price: - Euros.
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    C++ Python
    User solutions
    C C++ Haskell Java Python Rust