Untitled
unknown
c_cpp
2 years ago
220 B
6
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...