TOPIC
Não estou conseguindo resolver em DART
joaojunior7 asked 1 year ago
import 'dart:io';
void main() { double A = double.parse(stdin.readLineSync()); double B = double.parse(stdin.readLineSync()); double x = 3.5; double y = 7.5;
double soma = (3.5 * A) + (7.5 * B);
double pond = x + y;
double resultado = soma/pond;
print("MEDIA =" +resultado.toStringAsFixed(5));
}
Eu não sei, qual é o meu erro
This topic has not been answered yet. Be the first!