#include <iostream>
#include <string>
int main()
{
std::string number;
std::cin >> number;
std::cout << number << " - " << number.length() << "-х значное число." << std::endl;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
#include <string>
int main()
{
std::string number;
std::cin >> number;
std::cout << number << " - " << number.length() << "-х значное число." << std::endl;
return 0;
}