AngelInna228322
16.02.2022 16:11

Сасиавить программу которая позволяет вести из клавиатуры 2 строки s t строки водятся с кловятуры ​

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
MRS1CATHERINAAA
08.08.2021 10:20
#include <iostream.h>//для vs <iostream>
#include <conio.h>
/* для vs :
using std::cin;
using std::cout;
using std::endl;
using std::srand;
using std::rand;*/
int main(){  
int a[16],i,n;
randomize();//<->srand;
 cout<<"EXIT-0\n";
while(n!=0 ){
M: cout<<"Vvedite Razmer Massiva (N<=16) :\n";
cin>>n;
if(n>16) cout<<"Error! N>16 . Try again\n";
if(n>16) goto M;
for (i=0;i<n;i++)
a[i]=random(100);//<->rand();
cout<<endl;
for (i=0;i<n;i++)
cout<<a[i]<<" ";
cout<<endl;}
getch();
 return 0;
}
0,0(0 оценок)
Ответ:
lenokm050406
06.10.2022 01:07
Вот на С++:

#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <cstring>
#include <utility>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <climits>typedef unsigned long long ulol;
typedef long double ld;
typedef long long lol;
typedef long int  li;#define mp          make_pair
#define F           first
#define S           second
#define sqr(a)      ( (a) * (a) )
#define pb          push_back
#define INF         999999999
#define ret(a)      cout << endl; system("pause"); return(a)
//#define ret(a)      return(a)using namespace std;int main()
{
    ld x;
    cin >> x;
    x = ( 8 / sqrt( x ) ) + sqrt(x);
    cout << x;
    ret(0);
}
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота