Preview:
#include <iostream>

using std::cout;
using std::cin;
using std::endl;

int main() 
{

int a = 0;
int b = 0;
int min = 0;
int equal;

  
cout << "Введите число a: ";
cin >> a;
cout<<"Введите число b: ";
cin >> b;
  
  
if (a < b){

    cout << "Наименьшим числом является " << a <<".";

  } else if (a > b){

    cout << "Наименьшим числом является " << b <<".";

  } else {
      cout << "Числа равны";
  }
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter