Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<windows.h>
- using namespace std;
- int main()
- {
- int entermatrix;
- cout << " Press 1 to enter the matrix 0.0 " << endl;
- cin >> entermatrix;
- switch (entermatrix){
- case 1:
- do
- {
- Sleep(2);
- cout << "A B D F H J L N P R T U W Y " << endl;
- cout << "! # $ ^ & * ( ) _ - = , . ; ' | ? 0 1 0 1" << endl;
- cout << "a c e g i k m o q s t v x z" << endl;
- cout << "1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 1 0 1 1 0" << endl;
- cout << "0 1 1 0 0 0 1 1 0 1 0 0 0 0 1 1 1 0 1 1 0" << endl;
- cout << "1 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 0 0 1 1" << endl;
- cout << "0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 1 1 0 0" << endl;
- }while(entermatrix==1);
- case 0:
- cout << "later" << endl;
- break;
- system("pause");
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement