You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to write code that calculates the cost of education in Europe based on the mass and number of hedgehogs in Bulgaria (location is also important) and the cost of 1.5 liters of 3.2% milk in my country.
However, when I created the milk variable const const 🥛 = 1.5€!, I couldn't specify the fat content of the milk. This creates problems when performing such calculations. It is real FATality for me...
🥛
MILK IS NEVER NONFAT, I DON'T TAKE NONFAT MILK UNLESS IT'S BANANA-SOY MILK
This forced me to create a class for producing milk (commonly referred to as a factory) for these purposes. Here is an example code:
Problem Description
I was trying to write code that calculates the cost of education in Europe based on the mass and number of hedgehogs in Bulgaria (location is also important) and the cost of 1.5 liters of 3.2% milk in my country.
However, when I created the milk variable
const const 🥛 = 1.5€!
, I couldn't specify the fat content of the milk. This creates problems when performing such calculations. It is real FATality for me...🥛
MILK IS NEVER NONFAT, I DON'T TAKE NONFAT MILK UNLESS IT'S BANANA-SOY MILK
This forced me to create a class for producing milk (commonly referred to as a factory) for these purposes. Here is an example code:
What I Propose
Add syntax:
to perform such operations. This is very important for me and my education.
Final words
Please think about this problem (you can every hour), I'm about to enter university soon...
The text was updated successfully, but these errors were encountered: