SlideShare a Scribd company logo
#include <iostream.h>
#include <conio.h>
#include <stdio.h>
#include <windows>
/*Ismael junior botho zongua
carrera; Mecatronica
ejercicio 10 circuitos integrados
*/
int re;
void main()
{
cout<<"COMPUESTAS LOGICAS"<<endl;
cout<<"MENU DE COMPUERTAS LOGICAS"<<endl;
cout<<"1.- NOT n";
cout<<"2.- AND n";
cout<<"3.- NAND n";
cout<<"4.- OR n";
cout<<"5.- NOR n";
cout<<"6.- OR-EXCLUSIVA n!";
cout<<"7.- SALIR n";
cin>>re;
{
cout<<"COMPURTA NOT"<<endl;
cout<<" ______________________________"<<endl;
cout<<" | ooo || [] sssss |"<<endl;
cout<<" | o o|| [] s |"<<endl;
cout<<" | o o|| [] sssss |"<<endl;
cout<<" | o o|| [] s |"<<endl;
cout<<" | ooo || [] sssss |"<<endl;
cout<<" |____________________________|"<<endl;
cout<<" | ooo [] ll |"<<endl;
cout<<" | o o [] ll |"<<endl;
cout<<" | o o [] ll |"<<endl;
cout<<" | o o [] ll |"<<endl;
cout<<" | ooo [] llllll |"<<endl;
cout<<" | [] |"<<endl;
cout<<" | [] |"<<endl;
cout<<" | 11 [] ooo |"<<endl;
cout<<" | 11 [] o o |"<<endl;
cout<<" | 11 [] o o |"<<endl;
cout<<" | 11 [] o o |"<<endl;
cout<<" | 111111 [] ooo |"<<endl;
cout<<" _ _ _ _ _ _ _ "<<endl;
cout<<" | | | | | | | | | | | | | | "<<endl;
cout<<" | | | | | | | | | | | | | | "<<endl;
cout<<" ----------------------------------------- "<<endl;
cout<<" |VCC | | | | | | | "<<endl;
cout<<" | |-->.-| |-->.-| |-->.-| | "<<endl;
cout<<" |> | "<<endl;
cout<<" | > 77777 44 00 44 | "<<endl;
cout<<" | > 7 4 4 0 0 4 4 | "<<endl;
cout<<" | > 7 44444 0 0 44444 | "<<endl;
cout<<" | > 7 4 00 4 | "<<endl;
cout<<" |> | "<<endl;
cout<<" ||-->.-| |-->.-| |-->.-| | "<<endl;
cout<<" || | | | | | | "<<endl;
cout<<" || | | | | | MASA | "<<endl;
cout<<" ----------------------------------------- "<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |_| |_| |_| |_| |_| |_| |_| "<<endl;
cout<<" "<<endl;
cout<<" COMPUERTA AND"<<endl;
cout<<" _______________________________"<<endl;
cout<<" | | ____ |"<<endl;
cout<<" | aa | b | |___ |"<<endl;
cout<<" | a a| bbb | ____| |"<<endl;
cout<<" | aa | bbb | |"<<endl;
cout<<" |-----------------------------|"<<endl;
cout<<" | 00 00 | 00 |"<<endl;
cout<<" | 0 0 0 0 | 0 0 |"<<endl;
cout<<" | 00 00 | 00 |"<<endl;
cout<<" | | |"<<endl;
cout<<" | 00 1 | 00 |"<<endl;
cout<<" | 0 0 1 | 0 0 |"<<endl;
cout<<" | 00 111 | 00 |"<<endl;
cout<<" | | |"<<endl;
cout<<" | 1 00 | 00 |"<<endl;
cout<<" | 1 0 0 | 0 0 |"<<endl;
cout<<" | 111 00 | 00 |"<<endl;
cout<<" | | |"<<endl;
cout<<" | 1 1 | 1 |"<<endl;
cout<<" | 1 1 | 1 |"<<endl;
cout<<" | 111 111 | 111 |"<<endl;
cout<<" |_________________|___________|"<<endl;
cout<<" __ __ __ __ __ __ __"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" |------------------------------------------------|"<<endl;
cout<<" | VCC | | | | | | |"<<endl;
cout<<" | | |---|)) | | |---|)) | |"<<endl;
cout<<" | | | )-| | | )-| |"<<endl;
cout<<" |> |-----------|)) |---------|)) |"<<endl;
cout<<" | > |"<<endl;
cout<<" | > 77777 44 00 00 |"<<endl;
cout<<" | > 7 4 4 0 0 0__0 |"<<endl;
cout<<" | > 7 44444 0 0 0 0 |"<<endl;
cout<<" |> 7 4 00 00 |"<<endl;
cout<<" | |"<<endl;
cout<<" | _________|)) |--------|)) |"<<endl;
cout<<" | | __| )-| | | )---| |"<<endl;
cout<<" | | | |)) | | |-|)) | |"<<endl;
cout<<" | | | | | | | MASA|"<<endl;
cout<<" |------------------------------------------------|"<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl;
cout<<"COMPUERTA NAND"<<endl;
cout<<"__________________________________"<<endl;
cout<<"| | |"<<endl;
cout<<"| aa | b | ____ |"<<endl;
cout<<"| a a| bbb | |___ |"<<endl;
cout<<"| aa | bbb | ____| |"<<endl;
cout<<"|------------------|----------- |"<<endl;
cout<<"| 00 00 | 1 |"<<endl;
cout<<"| 0 0 0 0 | 1 |"<<endl;
cout<<"| 00 00 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 1 | 1 |"<<endl;
cout<<"| 0 0 1 | 1 |"<<endl;
cout<<"| 00 111 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 00 | 1 |"<<endl;
cout<<"| 1 0 0 | 1 |"<<endl;
cout<<"| 111 00 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 1 | 00 |"<<endl;
cout<<"| 1 1 | 0 0 |"<<endl;
cout<<"| 111 111 | 00 |"<<endl;
cout<<"|__________________|_____________|"<<endl;
cout<<" __ __ __ __ __ __ __ "<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" | VCC | | | | | | |"<<endl;
cout<<" | | |---|)) | | |---|)) | |"<<endl;
cout<<" | | | ).-| | | ).-| |"<<endl;
cout<<" |> |-----------|)) |---------|)) |"<<endl;
cout<<" | > |"<<endl;
cout<<" | > 77777 44 00 00 |"<<endl;
cout<<" | > 7 4 4 0 0 0 0 |"<<endl;
cout<<" | > 7 44444 0 0 0 0 |"<<endl;
cout<<" |> 7 4 00 00 |"<<endl;
cout<<" | |"<<endl;
cout<<" | |---------|)) |--------|)) |"<<endl;
cout<<" | | ).-| | | ).-| |"<<endl;
cout<<" | | |--|)) | | |-|)) | |"<<endl;
cout<<" | | | | | | | MASA |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl;
cout<<" COMPURTA OR"<<endl;
cout<<"___________________________________"<<endl;
cout<<"| | _____ |"<<endl;
cout<<"| aa | b | |____ |"<<endl;
cout<<"| a a| bbb | _____| |"<<endl;
cout<<"| aa | bbb | |"<<endl;
cout<<"|-------------------|-------------|"<<endl;
cout<<"| 00 00 | 00 |"<<endl;
cout<<"| 0 0 0 0 | 0 0 |"<<endl;
cout<<"| 00 00 | 00 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 1 | 1 |"<<endl;
cout<<"| 0 0 1 | 1 |"<<endl;
cout<<"| 00 111 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 00 | 1 |"<<endl;
cout<<"| 1 0 0 | 1 |"<<endl;
cout<<"| 111 00 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 1 | 1 |"<<endl;
cout<<"| 1 1 | 1 |"<<endl;
cout<<"| 111 111 | 111 |"<<endl;
cout<<"|-------------------|-------------|"<<endl;
cout<<" __ __ __ __ __ __ __ "<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" | VCC | | | | | | |"<<endl;
cout<<" | | |---))) | | |---))) | |"<<endl;
cout<<" | |----------- ) )--| | ) )--| |"<<endl;
cout<<" |> ))) |-------- ))) |"<<endl;
cout<<" | > |"<<endl;
cout<<" | > 77777 44 333 22222 |"<<endl;
cout<<" | > 7 4 4 __3 2 |"<<endl;
cout<<" | > 7 44444 3 2 |"<<endl;
cout<<" |> 7 4 333 22222 |"<<endl;
cout<<" | |"<<endl;
cout<<" | |---------))) |--------))) |"<<endl;
cout<<" | | ) )--| | _ ) )--| |"<<endl;
cout<<" | | |--))) | | | ))) | |"<<endl;
cout<<" | | | | | | | MASA |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl;
cout<<" COMPUERTA NOR"<<endl;
cout<<"________________________________________"<<endl;
cout<<"| aa | b | ____ |"<<endl;
cout<<"| a a| bbb | |____ |"<<endl;
cout<<"| aa | bbb | _____| |"<<endl;
cout<<"|-----------------------|---------------|"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 00 | 1 |"<<endl;
cout<<"| 0 0 0 0 | 1 |"<<endl;
cout<<"| 00 00 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 1 | 00 |"<<endl;
cout<<"| 0 0 1 | 0 0 |"<<endl;
cout<<"| 00 111 | 00 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 00 | 00 |"<<endl;
cout<<"| 1 0 0 | 0 0 |"<<endl;
cout<<"| 111 00 | 00 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 1 | 00 |"<<endl;
cout<<"| 1 1 | 0 0 |"<<endl;
cout<<"| 111 111 | 00 |"<<endl;
cout<<"|-----------------------|---------------|"<<endl;
cout<<" __ __ __ __ __ __ __ "<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" | VCC | | | | | | |"<<endl;
cout<<" | | (((_| | | (((--| | |"<<endl;
cout<<" | |--.( ( _______| |-.( ( | |"<<endl;
cout<<" |> ((( (((--------| |"<<endl;
cout<<" | > |"<<endl;
cout<<" | > 77777 44 000 22222 |"<<endl;
cout<<" | > 7 4 4 0 0 2 |"<<endl;
cout<<" | > 7 44444 0 0 22 |"<<endl;
cout<<" |> 7 4 000 22222 |"<<endl;
cout<<" | |"<<endl;
cout<<" | (((-------| (((-------| |"<<endl;
cout<<" | --.( ( | --.( ( | |"<<endl;
cout<<" | | (((-| | | (((--| | |"<<endl;
cout<<" | | | | | | | MASA |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl;
cout<<"COMPUERTA OR-EXCLUSIVA"<<endl;
cout<<"_______________________________________"<<endl;
cout<<"| aa | b | _____ |"<<endl;
cout<<"| a a| bbb | |____ |"<<endl;
cout<<"| aa | bbb | _____| |"<<endl;
cout<<"|-----------------------|-------------|"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 00 | 00 |"<<endl;
cout<<"| 0 0 0 0 | 0 0 |"<<endl;
cout<<"| 00 00 | 00 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 1 | 1 |"<<endl;
cout<<"| 0 0 1 | 1 |"<<endl;
cout<<"| 00 111 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 00 | 1 |"<<endl;
cout<<"| 1 0 0 | 1 |"<<endl;
cout<<"| 111 00 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 00 | 00 |"<<endl;
cout<<"| 1 0 0 | 0 0 |"<<endl;
cout<<"| 111 00 | 00 |"<<endl;
cout<<"|-----------------------|-------------|"<<endl;
cout<<" __ __ __ __ __ __ __"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" |------------------------------------------------|"<<endl;
cout<<" | VCC | | | | | | |"<<endl;
cout<<" | | |___))) | | (((---| | |"<<endl;
cout<<" | |___________ ))-| |-(( | |"<<endl;
cout<<" |> ))) (((-------| |"<<endl;
cout<<" | > |"<<endl;
cout<<" | > 77777 44 00 6666 |"<<endl;
cout<<" | > 7 4 4 0__0 6__ |"<<endl;
cout<<" | > 7 4444 0 0 6 6 |"<<endl;
cout<<" | > 7 4 00 6666 |"<<endl;
cout<<" |> |"<<endl;
cout<<" | |"<<endl;
cout<<" | |---------))) (((------| |"<<endl;
cout<<" | | ))-| |--(( | |"<<endl;
cout<<" | | |--))) | | (((--| | |"<<endl;
cout<<" | | | | | | | MASA|"<<endl;
cout<<" |------------------------------------------------|"<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl;
cout<<"COMPUERTA NOR-EXCLUSUVA"<<endl;
cout<<"_______________________________________"<<endl;
cout<<"| | _____ |"<<endl;
cout<<"| aa | b | |____ |"<<endl;
cout<<"| a a| bbb | _____| |"<<endl;
cout<<"| aa | bbb | |"<<endl;
cout<<"|---------------------|---------------|"<<endl;
cout<<"| 00 00 | 1 |"<<endl;
cout<<"| 0 0 0 0 | 1 |"<<endl;
cout<<"| 00 00 | 111 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 00 1 | 00 |"<<endl;
cout<<"| 0 0 1 | 0 0 |"<<endl;
cout<<"| 00 111 | 00 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 00 | 00 |"<<endl;
cout<<"| 1 0 0 | 0 0 |"<<endl;
cout<<"| 111 00 | 00 |"<<endl;
cout<<"| | |"<<endl;
cout<<"| 1 1 | 1 |"<<endl;
cout<<"| 1 1 | 1 |"<<endl;
cout<<"| 111 111 | 111 |"<<endl;
cout<<"|---------------------|---------------|"<<endl;
cout<<" __ __ __ __ __ __ __"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" | | | | | | | | | | | | | |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" | VCC | | | | | | |"<<endl;
cout<<" | | |-))) | | (((--| | |"<<endl;
cout<<" | | )).--| |-.(( | |"<<endl;
cout<<" |> |---------))) (((------| |"<<endl;
cout<<" | > |"<<endl;
cout<<" | > 77777 44 22222 6666 6666 |"<<endl;
cout<<" | > 7 4 4 2 6__ 6__ |"<<endl;
cout<<" | > 7 44444 22 6 6 6 6 |"<<endl;
cout<<" | > 7 4 22222 6666 6666 |"<<endl;
cout<<" |> |"<<endl;
cout<<" | |"<<endl;
cout<<" | |---------))) (((------| |"<<endl;
cout<<" | | ))-.| |-.(( | |"<<endl;
cout<<" | | |--))) | | (((--| | |"<<endl;
cout<<" | | | | | | | MASA |"<<endl;
cout<<" |--------------------------------------------------|"<<endl;
cout<<" 1| | | | | | | | | | | | | | "<<endl;
cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl;
system("pause");
getche();
}
}

More Related Content

Viewers also liked

Analyse economique centrale paris
Analyse economique centrale parisAnalyse economique centrale paris
Analyse economique centrale paris
Kari Michel
 
Trabajo fránces
Trabajo fráncesTrabajo fránces
Trabajo fránces
frmoliere
 
Psychic installation interactive
Psychic installation interactivePsychic installation interactive
Psychic installation interactive
Youssri Abdou
 
Romain duris
Romain durisRomain duris
Romain duris
frmoliere
 
Lire un site internet et s’y repérer
Lire un site internet et s’y repérerLire un site internet et s’y repérer
Lire un site internet et s’y repérer
MmeCapron
 
Trabajo eli, mela y paula
Trabajo eli, mela y paulaTrabajo eli, mela y paula
Trabajo eli, mela y paula
frmoliere
 
Recherche Isaac
Recherche IsaacRecherche Isaac
Recherche Isaac
Sylvianne Parent
 
Le petit prince ud a minimale
Le petit prince ud a minimaleLe petit prince ud a minimale
Le petit prince ud a minimale
elisederboit
 
Gaspard ulliel love nous
Gaspard ulliel love nousGaspard ulliel love nous
Gaspard ulliel love nous
frmoliere
 
Présentation Chinchurreta français
Présentation Chinchurreta françaisPrésentation Chinchurreta français
Présentation Chinchurreta français
Grupo Chinchurreta
 
Daniel auteil sdhbwduifhuf
Daniel auteil sdhbwduifhufDaniel auteil sdhbwduifhuf
Daniel auteil sdhbwduifhuf
frmoliere
 
Forom écoute la technologie au service des malentendants v1.099999
Forom écoute la technologie au service des malentendants v1.099999Forom écoute la technologie au service des malentendants v1.099999
Forom écoute la technologie au service des malentendants v1.099999
ChristopheGonin
 
Sophie marceau
Sophie marceauSophie marceau
Sophie marceau
frmoliere
 
Droit travail-110330134852-phpapp02
Droit travail-110330134852-phpapp02Droit travail-110330134852-phpapp02
Droit travail-110330134852-phpapp02
oceanefred
 
Echo de l'adour novembre décembre
Echo de l'adour novembre   décembreEcho de l'adour novembre   décembre
Echo de l'adour novembre décembre
chrysart
 

Viewers also liked (18)

Analyse economique centrale paris
Analyse economique centrale parisAnalyse economique centrale paris
Analyse economique centrale paris
 
1143
11431143
1143
 
Jonathan
JonathanJonathan
Jonathan
 
Trabajo fránces
Trabajo fráncesTrabajo fránces
Trabajo fránces
 
Psychic installation interactive
Psychic installation interactivePsychic installation interactive
Psychic installation interactive
 
Romain duris
Romain durisRomain duris
Romain duris
 
Lire un site internet et s’y repérer
Lire un site internet et s’y repérerLire un site internet et s’y repérer
Lire un site internet et s’y repérer
 
Trabajo eli, mela y paula
Trabajo eli, mela y paulaTrabajo eli, mela y paula
Trabajo eli, mela y paula
 
Recherche Isaac
Recherche IsaacRecherche Isaac
Recherche Isaac
 
L y A
L y AL y A
L y A
 
Le petit prince ud a minimale
Le petit prince ud a minimaleLe petit prince ud a minimale
Le petit prince ud a minimale
 
Gaspard ulliel love nous
Gaspard ulliel love nousGaspard ulliel love nous
Gaspard ulliel love nous
 
Présentation Chinchurreta français
Présentation Chinchurreta françaisPrésentation Chinchurreta français
Présentation Chinchurreta français
 
Daniel auteil sdhbwduifhuf
Daniel auteil sdhbwduifhufDaniel auteil sdhbwduifhuf
Daniel auteil sdhbwduifhuf
 
Forom écoute la technologie au service des malentendants v1.099999
Forom écoute la technologie au service des malentendants v1.099999Forom écoute la technologie au service des malentendants v1.099999
Forom écoute la technologie au service des malentendants v1.099999
 
Sophie marceau
Sophie marceauSophie marceau
Sophie marceau
 
Droit travail-110330134852-phpapp02
Droit travail-110330134852-phpapp02Droit travail-110330134852-phpapp02
Droit travail-110330134852-phpapp02
 
Echo de l'adour novembre décembre
Echo de l'adour novembre   décembreEcho de l'adour novembre   décembre
Echo de l'adour novembre décembre
 

More from ismaxmax

Ejercicio 9
Ejercicio 9Ejercicio 9
Ejercicio 9
ismaxmax
 
Ejercicio 7
Ejercicio 7Ejercicio 7
Ejercicio 7
ismaxmax
 
Ejercicio 6
Ejercicio 6Ejercicio 6
Ejercicio 6
ismaxmax
 
Ejercicio 5
Ejercicio 5Ejercicio 5
Ejercicio 5
ismaxmax
 
Ejercicio 4
Ejercicio 4Ejercicio 4
Ejercicio 4
ismaxmax
 
Ejercicio 3
Ejercicio 3Ejercicio 3
Ejercicio 3
ismaxmax
 
Ejercicio 2
Ejercicio 2Ejercicio 2
Ejercicio 2
ismaxmax
 
Ejercicio 1
Ejercicio 1Ejercicio 1
Ejercicio 1
ismaxmax
 
Ejercicio 8
Ejercicio 8Ejercicio 8
Ejercicio 8
ismaxmax
 

More from ismaxmax (9)

Ejercicio 9
Ejercicio 9Ejercicio 9
Ejercicio 9
 
Ejercicio 7
Ejercicio 7Ejercicio 7
Ejercicio 7
 
Ejercicio 6
Ejercicio 6Ejercicio 6
Ejercicio 6
 
Ejercicio 5
Ejercicio 5Ejercicio 5
Ejercicio 5
 
Ejercicio 4
Ejercicio 4Ejercicio 4
Ejercicio 4
 
Ejercicio 3
Ejercicio 3Ejercicio 3
Ejercicio 3
 
Ejercicio 2
Ejercicio 2Ejercicio 2
Ejercicio 2
 
Ejercicio 1
Ejercicio 1Ejercicio 1
Ejercicio 1
 
Ejercicio 8
Ejercicio 8Ejercicio 8
Ejercicio 8
 

Ejercicio 10

  • 1. #include <iostream.h> #include <conio.h> #include <stdio.h> #include <windows> /*Ismael junior botho zongua carrera; Mecatronica ejercicio 10 circuitos integrados */ int re; void main() { cout<<"COMPUESTAS LOGICAS"<<endl; cout<<"MENU DE COMPUERTAS LOGICAS"<<endl; cout<<"1.- NOT n"; cout<<"2.- AND n"; cout<<"3.- NAND n"; cout<<"4.- OR n"; cout<<"5.- NOR n"; cout<<"6.- OR-EXCLUSIVA n!"; cout<<"7.- SALIR n"; cin>>re; { cout<<"COMPURTA NOT"<<endl; cout<<" ______________________________"<<endl; cout<<" | ooo || [] sssss |"<<endl; cout<<" | o o|| [] s |"<<endl; cout<<" | o o|| [] sssss |"<<endl; cout<<" | o o|| [] s |"<<endl; cout<<" | ooo || [] sssss |"<<endl; cout<<" |____________________________|"<<endl; cout<<" | ooo [] ll |"<<endl; cout<<" | o o [] ll |"<<endl; cout<<" | o o [] ll |"<<endl; cout<<" | o o [] ll |"<<endl; cout<<" | ooo [] llllll |"<<endl; cout<<" | [] |"<<endl; cout<<" | [] |"<<endl; cout<<" | 11 [] ooo |"<<endl; cout<<" | 11 [] o o |"<<endl; cout<<" | 11 [] o o |"<<endl; cout<<" | 11 [] o o |"<<endl; cout<<" | 111111 [] ooo |"<<endl; cout<<" _ _ _ _ _ _ _ "<<endl; cout<<" | | | | | | | | | | | | | | "<<endl; cout<<" | | | | | | | | | | | | | | "<<endl; cout<<" ----------------------------------------- "<<endl; cout<<" |VCC | | | | | | | "<<endl; cout<<" | |-->.-| |-->.-| |-->.-| | "<<endl; cout<<" |> | "<<endl; cout<<" | > 77777 44 00 44 | "<<endl; cout<<" | > 7 4 4 0 0 4 4 | "<<endl; cout<<" | > 7 44444 0 0 44444 | "<<endl;
  • 2. cout<<" | > 7 4 00 4 | "<<endl; cout<<" |> | "<<endl; cout<<" ||-->.-| |-->.-| |-->.-| | "<<endl; cout<<" || | | | | | | "<<endl; cout<<" || | | | | | MASA | "<<endl; cout<<" ----------------------------------------- "<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |_| |_| |_| |_| |_| |_| |_| "<<endl; cout<<" "<<endl; cout<<" COMPUERTA AND"<<endl; cout<<" _______________________________"<<endl; cout<<" | | ____ |"<<endl; cout<<" | aa | b | |___ |"<<endl; cout<<" | a a| bbb | ____| |"<<endl; cout<<" | aa | bbb | |"<<endl; cout<<" |-----------------------------|"<<endl; cout<<" | 00 00 | 00 |"<<endl; cout<<" | 0 0 0 0 | 0 0 |"<<endl; cout<<" | 00 00 | 00 |"<<endl; cout<<" | | |"<<endl; cout<<" | 00 1 | 00 |"<<endl; cout<<" | 0 0 1 | 0 0 |"<<endl; cout<<" | 00 111 | 00 |"<<endl; cout<<" | | |"<<endl; cout<<" | 1 00 | 00 |"<<endl; cout<<" | 1 0 0 | 0 0 |"<<endl; cout<<" | 111 00 | 00 |"<<endl; cout<<" | | |"<<endl; cout<<" | 1 1 | 1 |"<<endl; cout<<" | 1 1 | 1 |"<<endl; cout<<" | 111 111 | 111 |"<<endl; cout<<" |_________________|___________|"<<endl; cout<<" __ __ __ __ __ __ __"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" |------------------------------------------------|"<<endl; cout<<" | VCC | | | | | | |"<<endl; cout<<" | | |---|)) | | |---|)) | |"<<endl; cout<<" | | | )-| | | )-| |"<<endl; cout<<" |> |-----------|)) |---------|)) |"<<endl; cout<<" | > |"<<endl; cout<<" | > 77777 44 00 00 |"<<endl; cout<<" | > 7 4 4 0 0 0__0 |"<<endl; cout<<" | > 7 44444 0 0 0 0 |"<<endl; cout<<" |> 7 4 00 00 |"<<endl; cout<<" | |"<<endl; cout<<" | _________|)) |--------|)) |"<<endl; cout<<" | | __| )-| | | )---| |"<<endl; cout<<" | | | |)) | | |-|)) | |"<<endl; cout<<" | | | | | | | MASA|"<<endl; cout<<" |------------------------------------------------|"<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl; cout<<"COMPUERTA NAND"<<endl;
  • 3. cout<<"__________________________________"<<endl; cout<<"| | |"<<endl; cout<<"| aa | b | ____ |"<<endl; cout<<"| a a| bbb | |___ |"<<endl; cout<<"| aa | bbb | ____| |"<<endl; cout<<"|------------------|----------- |"<<endl; cout<<"| 00 00 | 1 |"<<endl; cout<<"| 0 0 0 0 | 1 |"<<endl; cout<<"| 00 00 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 00 1 | 1 |"<<endl; cout<<"| 0 0 1 | 1 |"<<endl; cout<<"| 00 111 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 00 | 1 |"<<endl; cout<<"| 1 0 0 | 1 |"<<endl; cout<<"| 111 00 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 1 | 00 |"<<endl; cout<<"| 1 1 | 0 0 |"<<endl; cout<<"| 111 111 | 00 |"<<endl; cout<<"|__________________|_____________|"<<endl; cout<<" __ __ __ __ __ __ __ "<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" | VCC | | | | | | |"<<endl; cout<<" | | |---|)) | | |---|)) | |"<<endl; cout<<" | | | ).-| | | ).-| |"<<endl; cout<<" |> |-----------|)) |---------|)) |"<<endl; cout<<" | > |"<<endl; cout<<" | > 77777 44 00 00 |"<<endl; cout<<" | > 7 4 4 0 0 0 0 |"<<endl; cout<<" | > 7 44444 0 0 0 0 |"<<endl; cout<<" |> 7 4 00 00 |"<<endl; cout<<" | |"<<endl; cout<<" | |---------|)) |--------|)) |"<<endl; cout<<" | | ).-| | | ).-| |"<<endl; cout<<" | | |--|)) | | |-|)) | |"<<endl; cout<<" | | | | | | | MASA |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl; cout<<" COMPURTA OR"<<endl; cout<<"___________________________________"<<endl; cout<<"| | _____ |"<<endl; cout<<"| aa | b | |____ |"<<endl; cout<<"| a a| bbb | _____| |"<<endl; cout<<"| aa | bbb | |"<<endl; cout<<"|-------------------|-------------|"<<endl; cout<<"| 00 00 | 00 |"<<endl; cout<<"| 0 0 0 0 | 0 0 |"<<endl; cout<<"| 00 00 | 00 |"<<endl; cout<<"| | |"<<endl; cout<<"| 00 1 | 1 |"<<endl; cout<<"| 0 0 1 | 1 |"<<endl;
  • 4. cout<<"| 00 111 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 00 | 1 |"<<endl; cout<<"| 1 0 0 | 1 |"<<endl; cout<<"| 111 00 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 1 | 1 |"<<endl; cout<<"| 1 1 | 1 |"<<endl; cout<<"| 111 111 | 111 |"<<endl; cout<<"|-------------------|-------------|"<<endl; cout<<" __ __ __ __ __ __ __ "<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" | VCC | | | | | | |"<<endl; cout<<" | | |---))) | | |---))) | |"<<endl; cout<<" | |----------- ) )--| | ) )--| |"<<endl; cout<<" |> ))) |-------- ))) |"<<endl; cout<<" | > |"<<endl; cout<<" | > 77777 44 333 22222 |"<<endl; cout<<" | > 7 4 4 __3 2 |"<<endl; cout<<" | > 7 44444 3 2 |"<<endl; cout<<" |> 7 4 333 22222 |"<<endl; cout<<" | |"<<endl; cout<<" | |---------))) |--------))) |"<<endl; cout<<" | | ) )--| | _ ) )--| |"<<endl; cout<<" | | |--))) | | | ))) | |"<<endl; cout<<" | | | | | | | MASA |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl; cout<<" COMPUERTA NOR"<<endl; cout<<"________________________________________"<<endl; cout<<"| aa | b | ____ |"<<endl; cout<<"| a a| bbb | |____ |"<<endl; cout<<"| aa | bbb | _____| |"<<endl; cout<<"|-----------------------|---------------|"<<endl; cout<<"| | |"<<endl; cout<<"| 00 00 | 1 |"<<endl; cout<<"| 0 0 0 0 | 1 |"<<endl; cout<<"| 00 00 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 00 1 | 00 |"<<endl; cout<<"| 0 0 1 | 0 0 |"<<endl; cout<<"| 00 111 | 00 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 00 | 00 |"<<endl; cout<<"| 1 0 0 | 0 0 |"<<endl; cout<<"| 111 00 | 00 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 1 | 00 |"<<endl; cout<<"| 1 1 | 0 0 |"<<endl; cout<<"| 111 111 | 00 |"<<endl; cout<<"|-----------------------|---------------|"<<endl;
  • 5. cout<<" __ __ __ __ __ __ __ "<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" | VCC | | | | | | |"<<endl; cout<<" | | (((_| | | (((--| | |"<<endl; cout<<" | |--.( ( _______| |-.( ( | |"<<endl; cout<<" |> ((( (((--------| |"<<endl; cout<<" | > |"<<endl; cout<<" | > 77777 44 000 22222 |"<<endl; cout<<" | > 7 4 4 0 0 2 |"<<endl; cout<<" | > 7 44444 0 0 22 |"<<endl; cout<<" |> 7 4 000 22222 |"<<endl; cout<<" | |"<<endl; cout<<" | (((-------| (((-------| |"<<endl; cout<<" | --.( ( | --.( ( | |"<<endl; cout<<" | | (((-| | | (((--| | |"<<endl; cout<<" | | | | | | | MASA |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl; cout<<"COMPUERTA OR-EXCLUSIVA"<<endl; cout<<"_______________________________________"<<endl; cout<<"| aa | b | _____ |"<<endl; cout<<"| a a| bbb | |____ |"<<endl; cout<<"| aa | bbb | _____| |"<<endl; cout<<"|-----------------------|-------------|"<<endl; cout<<"| | |"<<endl; cout<<"| 00 00 | 00 |"<<endl; cout<<"| 0 0 0 0 | 0 0 |"<<endl; cout<<"| 00 00 | 00 |"<<endl; cout<<"| | |"<<endl; cout<<"| 00 1 | 1 |"<<endl; cout<<"| 0 0 1 | 1 |"<<endl; cout<<"| 00 111 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 00 | 1 |"<<endl; cout<<"| 1 0 0 | 1 |"<<endl; cout<<"| 111 00 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 00 | 00 |"<<endl; cout<<"| 1 0 0 | 0 0 |"<<endl; cout<<"| 111 00 | 00 |"<<endl; cout<<"|-----------------------|-------------|"<<endl; cout<<" __ __ __ __ __ __ __"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" |------------------------------------------------|"<<endl; cout<<" | VCC | | | | | | |"<<endl; cout<<" | | |___))) | | (((---| | |"<<endl; cout<<" | |___________ ))-| |-(( | |"<<endl;
  • 6. cout<<" |> ))) (((-------| |"<<endl; cout<<" | > |"<<endl; cout<<" | > 77777 44 00 6666 |"<<endl; cout<<" | > 7 4 4 0__0 6__ |"<<endl; cout<<" | > 7 4444 0 0 6 6 |"<<endl; cout<<" | > 7 4 00 6666 |"<<endl; cout<<" |> |"<<endl; cout<<" | |"<<endl; cout<<" | |---------))) (((------| |"<<endl; cout<<" | | ))-| |--(( | |"<<endl; cout<<" | | |--))) | | (((--| | |"<<endl; cout<<" | | | | | | | MASA|"<<endl; cout<<" |------------------------------------------------|"<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl; cout<<"COMPUERTA NOR-EXCLUSUVA"<<endl; cout<<"_______________________________________"<<endl; cout<<"| | _____ |"<<endl; cout<<"| aa | b | |____ |"<<endl; cout<<"| a a| bbb | _____| |"<<endl; cout<<"| aa | bbb | |"<<endl; cout<<"|---------------------|---------------|"<<endl; cout<<"| 00 00 | 1 |"<<endl; cout<<"| 0 0 0 0 | 1 |"<<endl; cout<<"| 00 00 | 111 |"<<endl; cout<<"| | |"<<endl; cout<<"| 00 1 | 00 |"<<endl; cout<<"| 0 0 1 | 0 0 |"<<endl; cout<<"| 00 111 | 00 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 00 | 00 |"<<endl; cout<<"| 1 0 0 | 0 0 |"<<endl; cout<<"| 111 00 | 00 |"<<endl; cout<<"| | |"<<endl; cout<<"| 1 1 | 1 |"<<endl; cout<<"| 1 1 | 1 |"<<endl; cout<<"| 111 111 | 111 |"<<endl; cout<<"|---------------------|---------------|"<<endl; cout<<" __ __ __ __ __ __ __"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" | | | | | | | | | | | | | |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" | VCC | | | | | | |"<<endl; cout<<" | | |-))) | | (((--| | |"<<endl; cout<<" | | )).--| |-.(( | |"<<endl; cout<<" |> |---------))) (((------| |"<<endl; cout<<" | > |"<<endl; cout<<" | > 77777 44 22222 6666 6666 |"<<endl; cout<<" | > 7 4 4 2 6__ 6__ |"<<endl; cout<<" | > 7 44444 22 6 6 6 6 |"<<endl; cout<<" | > 7 4 22222 6666 6666 |"<<endl; cout<<" |> |"<<endl; cout<<" | |"<<endl; cout<<" | |---------))) (((------| |"<<endl; cout<<" | | ))-.| |-.(( | |"<<endl;
  • 7. cout<<" | | |--))) | | (((--| | |"<<endl; cout<<" | | | | | | | MASA |"<<endl; cout<<" |--------------------------------------------------|"<<endl; cout<<" 1| | | | | | | | | | | | | | "<<endl; cout<<" |__| |__| |__| |__| |__| |__| |__|"<<endl; system("pause"); getche(); } }