2022-08-12 14:59:08 +01:00
|
|
|
#include <iostream>
|
2022-08-13 00:34:25 +01:00
|
|
|
|
2022-08-15 00:18:23 +01:00
|
|
|
void print(int x)
|
|
|
|
{
|
|
|
|
std::cout << x;
|
|
|
|
}
|
|
|
|
|
2022-08-12 14:59:08 +01:00
|
|
|
int main()
|
|
|
|
{
|
2022-08-15 00:19:08 +01:00
|
|
|
constexpr float testVal { 5.5F };
|
|
|
|
print(static_cast<int>(testVal));
|
2022-08-15 00:18:23 +01:00
|
|
|
return 0;
|
2022-08-12 14:59:08 +01:00
|
|
|
}
|