# Age Creep

 Age:

Output: `Press calculate`

Ergonomic Office Chair Home Office Desk Chair with Lumbar Support

The chair I use in my home office. A good balance of budget friendly price and quality. And my 18 month old loves looking in the reflective surface on the back, so there's that.
As an Amazon Associate I earn from qualifying purchases. Thank you!

Formula:`C = (age < minAge) ? 'Age should be at least ' + minAge : max(age / 2 + 7, minAge)`

## Introduction to Age Creep Calculator

The Age Creep Calculator uses the half-your-age-plus-seven rule to determine the minimum socially acceptable age for a potential romantic partner. The rule states that the youngest acceptable age of a partner is calculated by halving one's age and adding seven. However, there is a minimum age restriction. If the calculated age is less than the minimum age, the minimum age is returned as the result.

## Parameter usage:

• `age` = individual's age
• `minAge` = minimum socially acceptable age

## Example valid values:

• `age` = 25
• `minAge` = 18

## Output:

• `C` = minimum socially acceptable age

## Data validation

The age should be a positive number. If the age is less than the minimum socially acceptable age, an error message is returned.

## Summary

This calculator indicates the minimum socially acceptable age of a potential partner based on the individual's age and the minimum socially acceptable age.

Tags: Age, Relationship, Dating