fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. setlocale(LC_ALL, "RU");
  6. float a, b, c;
  7. cout << "Переменная 1:" << endl;
  8. cin >> a;
  9.  
  10. cout << "Переменная 2:" << endl;
  11. cin >> b;
  12.  
  13. cout << "Переменная 3:" << endl;
  14. cin >> c;
  15.  
  16. cout << "Результат";
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 5320KB
stdin
45.56
75.09
126.76
stdout
Переменная 1:
Переменная 2:
Переменная 3:
Результат