Untitled

Anonymous
c_cpp
10/05/2023 12:07 PM
296 B
14
Indexable
#include <iostream>
using namespace std;

int main() {
  setlocale(LC_ALL,"Russian");
  double n;
  cin >> n;
  int m = n;
  cout << "Целая часть - " << m << ", дробная часть - " << n - (double)m;
}
Editor is loading...