simple-cpp-game-study/PPP3/ex01.cpp
2024-05-01 20:26:41 -04:00

17 lines
260 B
C++

#include <iostream>
using namespace std;
int main()
{
constexpr double pi = 3.14159;
double d = 0;
while(cin >> d) {
int i = d;
char c = i;
cout << "d==" << d
<< " i==" << i
<< " c==" << c
<< " char(" << c << ")\n";
}
}