Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CursoJavaExercicios/src/fundamentos/Exercicio1.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static void main(String[] args) {
System.out.println("Digite a temperatura em Celsius: ");
double celsius = scanner.nextDouble();

double conversao = ( celsius - 32 ) / 1.8;
double conversao = ( celsius * 1.8 ) + 32;

System.out.print("Valor em Farenheit: " + conversao);

Expand Down