Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:326f0b56759b, committed 2014-09-05
- Comitter:
- o_mexia
- Date:
- Fri Sep 05 08:17:25 2014 +0000
- Parent:
- 0:11cc22238a53
- Commit message:
- Laboratorio 1 - A01138679
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/B.cpp Fri Sep 05 08:17:25 2014 +0000 @@ -0,0 +1,19 @@ +#include <iostream> + +using namespace std; + +bool ecuacion; + +int a, b, c; + +int main() +{ + a = 0; + b = 0; + c = 0; + + ecuacion = ( ( !a && a ) || ( !b && b ) || ( !c && c)); + cout << ecuacion << endl; + return 0; + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C.cpp Fri Sep 05 08:17:25 2014 +0000 @@ -0,0 +1,19 @@ +#include <iostream> + +using namespace std; + +bool ecuacion; + +int a, b, c; + +int main() +{ + a = 0; + b = 0; + c = 0; + + ecuacion = ( ( !b || c ) && a ); + cout << ecuacion << endl; + return 0; + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/D.cpp Fri Sep 05 08:17:25 2014 +0000 @@ -0,0 +1,19 @@ +#include <iostream> + +using namespace std; + +bool ecuacion; + +int a, b, c; + +int main() +{ + a = 0; + b = 0; + c = 0; + + ecuacion = ( ( ( a || b ) && !c ) || (( a || c ) && !b ) || (( b || c ) && !a )); + cout << ecuacion << endl; + return 0; + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/E.cpp Fri Sep 05 08:17:25 2014 +0000 @@ -0,0 +1,19 @@ +#include <iostream> + +using namespace std; + +bool ecuacion; + +int a, b, c; + +int main() +{ + a = 0; + b = 0; + c = 0; + + ecuacion = ( a || !a || ( b && !c )); + cout << ecuacion << endl; + return 0; + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/F.cpp Fri Sep 05 08:17:25 2014 +0000 @@ -0,0 +1,19 @@ +#include <iostream> + +using namespace std; + +bool ecuacion; + +int a, b, c; + +int main() +{ + a = 0; + b = 0; + c = 0; + + ecuacion = ( ( a && b && c ) || ( !a && !b && !c ) ); + cout << ecuacion << endl; + return 0; + +} \ No newline at end of file