If your country's population is greater than 33 million, log a string like this to the console: "Portugal's population is 22 million below average" (the 22 is the average of 33 minus the country's population).
I got a bit confused with the writing and after checking the solution, it does not reflect what is asked.
I guess something like this would sound better:
If your country's population is greater than 33 million, log a string like this to the console: "Portugal's population is above average". If it is lower than 33 million, log a string like "Portugal's population is 22 million below average" (the 22 is the average of 33 minus the country's population).
Hey Jonas, Not sure if this is the best place to post this, but I haven't found anywhere else.
In the Taking Decisions assignment, it is written:
If your country's population is greater than 33 million, log a string like this to the console: "Portugal's population is 22 million below average" (the 22 is the average of 33 minus the country's population).
I got a bit confused with the writing and after checking the solution, it does not reflect what is asked.
I guess something like this would sound better:
If your country's population is greater than 33 million, log a string like this to the console: "Portugal's population is above average". If it is lower than 33 million, log a string like "Portugal's population is 22 million below average" (the 22 is the average of 33 minus the country's population).
I hope this makes sense.
Thanks, Bruno