1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| #include <iostream>
#include <vector>
#include<algorithm>
#include<ctime>
#include<cstdlib>
using namespace std;
int main()
{
int match=0;
int n1,n2,n3,n4,n5,n6;
std::vector<int> m={0};
std::vector<int> v=
{1,2,3,4,5,6,7,8,9};
cout<<" entrer les 6 chiffre ";
cout<<endl;
std::cin >> m[1];
cout<<endl;
std::cin >> m[2];
cout<<endl;
cin >> m[3];
cout<<endl;
cin >> m[4];
cout<<endl;
cin >> m[5];
cout<<endl;
cin >> m[6];
cout<<endl;
for (int h=1;h<=6;h++)
{ cout<<m[h]<<" "; }
cout<<endl;
std::vector<int> k={
0};
for (int h=1;h<=6;h++)
{ cout<<m[h]<<" "; }
cout<<endl;
} |
Partager