반응형
Hey global~!
World will beat Corona Virus! Cheer up! World!
Comment anything I will tell u the secret!
2020-05-27
World total confirmed : 5588299.0
US total confirmed : 1680625.0
Total confirmed without US : 3907674.0
US confirmed/World confirmed : 30.07%
Total confirmed without US/World confirmed : 69.93%
Global Deaths : 350423.0
US Deaths : 98902.0
Global Deaths without US : 251521.0
Death rate of US : 5.88%
Death rate of Global without US : 6.44%
Death rate of Global : 6.27%
Numbers are from https://coronavirus.jhu.edu/map.html
COVID-19 Map
Coronavirus COVID-19 Global Cases by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (JHU)
coronavirus.jhu.edu
U can use this code whatever u want
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
public class CoronaVirus {
public static void main(String[] args) {
double totalConfirmed = 5588299.0;
double totalConfirmedUS = 1680625.0;
double totalConfirmedWithoutUS = totalConfirmed-totalConfirmedUS;
double totalDeath = 350423.0;
double totalDeathUS = 98902.0;
double totalDeathWithoutUS = totalDeath-totalDeathUS;
System.out.println("2020-05-27");
System.out.println("World total confirmed : "+totalConfirmed);
System.out.println("US total confirmed : "+totalConfirmedUS);
System.out.println("Total confirmed without US : "+totalConfirmedWithoutUS);
System.out.println("US confirmed/World confirmed : "+String.format("%,.2f", (totalConfirmedUS/totalConfirmed)*100)+"%");
System.out.println("Total confirmed without US/World confirmed : "+String.format("%,.2f", (totalConfirmedWithoutUS/totalConfirmed)*100)+"%");
System.out.println("Global Deaths : "+totalDeath);
System.out.println("US Deaths : "+totalDeathUS);
System.out.println("Global Deaths without US : "+totalDeathWithoutUS);
System.out.println("Death rate of US : "+String.format("%,.2f", (totalDeathUS/totalConfirmedUS)*100)+"%");
System.out.println("Death rate of Global without US : "+String.format("%,.2f", (totalDeathWithoutUS/totalConfirmedWithoutUS)*100)+"%");
System.out.println("Death rate of Global : "+String.format("%,.2f", (totalDeath/totalConfirmed)*100)+"%");
}
}
|
cs |
반응형
'Programming' 카테고리의 다른 글
Coronavirus(COVID-19) in the US Prediction after 2 weeks and 1 month with Java(3rd 2020-06-12) (0) | 2020.06.12 |
---|---|
Corona virus(COVID-19) in US(Change in 2 weeks) with Java(2nd 2020-06-10) (0) | 2020.06.10 |
[#12865 백준] 평범한 배낭 JAVA DP (0) | 2020.05.24 |
BST(Binary Search Tree) with JAVA(ft. hanyang univ) (0) | 2020.05.22 |
k-universal circular string (De bruijn, Eulerian, Hamiltonian graph) (0) | 2020.05.20 |