#include <iostream>
#include <string>
#include <ctype.h>
using namespace std;
int main() {
freopen("D:\\input.txt", "r", stdin);
freopen("D:\\output.txt", "w", stdout);
char s[10001];
string newtext = "";
int c = 0;
gets_s(s);
for (int i = 0; s[i] != '\0'; i++) {
if (s[i] == 'e' && s[i + 1] == 'n' && s[i + 2] == 'd') {
c += 3;
newtext += s[i];
newtext += " ";
newtext += s[i + 1];
newtext += " ";
newtext += s[i + 2];
break;
}
c++;
newtext += s[i];
newtext += " ";
}
cout << c << endl << newtext;
}
E:\*.*
A:\<span>economics.*
C:\??????.xls
J:\T??.*</span>
Язык C++.
#include < iostream >
using namespace std;
int main() {
int x, y, z;
cout << "Введите три числа: " << endl;
cin >> x >> y >> z;
cout << "Наименьшее число: ";
if (x < y && x < z)
cout << x << endl;
else if (y < x && y < z)
cout << y << endl;
else
cout << z << endl;
}
Create database book
Use book
Create table book
Id auto_increment
'жанр' varchar(60) not null,
'автор' varchar(60) not null,
'год' Int not null,
'коменти' varchar(60) ;
Insert (жанр, автор, год, коменти)
Into(бла, бла, 123, пмио);