C++15

PHOTO EMBED

Sat Sep 17 2022 06:29:38 GMT+0000 (Coordinated Universal Time)

Saved by @kodekutulisanku #c++

#include <iostream>
using namespace std;
int f(int p, int q)
{
  if (p > q)
    return p;
  else
    return q;
}
main()
{
  int a = 5, b = 10;
  int k;
  bool x = true;
  bool y = f(a, b);
  k =((a * b) + (x + y));
  cout << k;
}
content_copyCOPY