Use function in cout : cout « Console « C++






Use function in cout

Use function in cout

#include <iostream>
using namespace std;

int main()
{

  cout << (10>20 ? 10 : 20);
  cout << " " << (99>88 ? 99 : 88);

  return 0;
}

           
       








Related examples in the same category

1.Call function in coutCall function in cout
2.Using the cout Object with Numeric ArraysUsing the cout Object with Numeric Arrays
3.Unformattwd Input/Output: cin.get and getlineUnformattwd Input/Output: cin.get and getline