Calculating and Formatting Dynamics
Tehtävä
Swipe to start coding
As of 2020, the USA population was 331002651, of which 273975139 - urban population. The Urban population (%) is the proportion of the urban population to the total. Your tasks are:
- Print total and urban populations with commas every thousand;
- Calculate urban population (%), and print the result in the following format:
45.653%
.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 9
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 4.35
Calculating and Formatting Dynamics
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
As of 2020, the USA population was 331002651, of which 273975139 - urban population. The Urban population (%) is the proportion of the urban population to the total. Your tasks are:
- Print total and urban populations with commas every thousand;
- Calculate urban population (%), and print the result in the following format:
45.653%
.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Awesome!
Completion rate improved to 4.35Osio 3. Luku 9
single