Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
333 B
1
Indexable
Never
// задача на циклы 
#include <iostream>
using namespace std;
int main()
{
	int a;
	cin >> a;
	int b;
	cin >> b;
	int s = 0;
	int e = 0;
	while (a > 0)
	{
		s += 1;
		a /=10;
	}
	cout << s;
	cout << "  and  ";

	while (b > 0)
	{
		e += 1;
		b /= 10;
	}
	cout << e;
	if (s > e)
	{
		cout 
	}
}