Skip to content

Commit

Permalink
Adicionando cor a nota
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-gon committed Jul 19, 2022
1 parent d0b0ba2 commit f3bab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gon/dragneel/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static void main(String[] args) throws Exception {
}

float nota = Float.parseFloat(filme.get("imDbRating"));
System.out.println("\u001b[1m Nota: \u001b[m"+nota+"");
System.out.println(" \u001b[48;2;228;2;2m\u001b[1mNota: \u001b[m\u001b[48;2;228;2;2m"+nota+" \u001b[m");

String estrelas = "";
for(int i = 0; i<nota; i++) {
Expand Down

0 comments on commit f3bab82

Please sign in to comment.