Ответ:
Объяснение:
#include <iostream>
using namespace std;
int main(){
int document_count;
cin >> document_count;
if (document_count==1)
{
cout << "egual" << endl;
cout << " One document found" << endl;
}
else if (document_count==0)
cout << "not egual" << endl;
cout << "No documents found" << endl;
else
cout<<document_count<<" documents found";
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Объяснение:
#include <iostream>
using namespace std;
int main(){
int document_count;
cin >> document_count;
if (document_count==1)
{
cout << "egual" << endl;
cout << " One document found" << endl;
}
else if (document_count==0)
{
cout << "not egual" << endl;
cout << "No documents found" << endl;
}
else
cout<<document_count<<" documents found";
return 0;
}