#include <iostream>
#include <string>
int main()
{
std::string number;
std::cin >> number;
std::cout << number << " - " << number.length() << "-х значное число." << std::endl;
return 0;
}
Всем что осизается имеет запах ,форму,звуки?и.т.д
ИЛЛЮЗИЯ МЮЛЛЕРА-ЛАЙЕРА или ГЕОМЕТРИЧЕСКАЯ ИЛЛЮЗИЯ
1.
#include <stdio.h>
using namespace std;
int main() {
int a, i = 0;
scanf("%d", &a);
while (a != 0) {
if (a % 2 == 0) i++;
a = a / 2;
}
printf("%d", i);
return 0;
}
А2.
#include <stdio.h>
using namespace std;
int main() {
int n, a;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d", &a);
if (a % 2 == 0) {
printf("%4d", a);
}
}
return 0;
}
А3.
#include <stdio.h>
using namespace std;
int main() {
int n, a, c = 0;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
scanf("%d", &a);
if (a > 0) {
c++;
}
}
printf("%d", c);
return 0;
}
4.
#include <stdio.h>
#include <math.h>
using namespace std;
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%.1f", sqrt(a * a + b * b));
return 0;
}
5.
#include <stdio.h>
using namespace std;
int main() {
int n;
scanf("%d", &n);
printf("%d", n % 10);
return 0;
}
8.
#include <stdio.h>
using namespace std;
int main() {
int a;
scanf("%d", &a);
printf("%d", a % 10 + a / 10 % 10 + a / 100);
return 0;
}
Ответ:
Закройте режим планшета и все должно стать нормальным