Daleon228_09
Solid & Active Platinian
#include <iostream>
class da {
private:
void print()
{
if (1 > 2)
{
}
else {
if (2 > 1)
{
if (3 > 1)
{
if (0 == 0)
{
if (nullptr == nullptr)
{
std::cout << "Hello, World";
}
else {
}
}
else {
}
}
else {
}
}
else {
}
}
}
public:
void pesun()
{
print();
}
};
int main()
{
da dakalka
dakalka.pesun();
}
I tried to log the message on console but it doesn't work!
class da {
private:
void print()
{
if (1 > 2)
{
}
else {
if (2 > 1)
{
if (3 > 1)
{
if (0 == 0)
{
if (nullptr == nullptr)
{
std::cout << "Hello, World";
}
else {
}
}
else {
}
}
else {
}
}
else {
}
}
}
public:
void pesun()
{
print();
}
};
int main()
{
da dakalka
dakalka.pesun();
}
I tried to log the message on console but it doesn't work!