Oscar Mexía / Mbed 2 deprecated LAB_1

Dependencies:   mbed

Committer:
o_mexia
Date:
Fri Sep 05 08:13:55 2014 +0000
Revision:
0:11cc22238a53
LAB1 A

Who changed what in which revision?

UserRevisionLine numberNew contents of line
o_mexia 0:11cc22238a53 1 #include <iostream>
o_mexia 0:11cc22238a53 2
o_mexia 0:11cc22238a53 3 using namespace std;
o_mexia 0:11cc22238a53 4
o_mexia 0:11cc22238a53 5 bool ecuacion;
o_mexia 0:11cc22238a53 6
o_mexia 0:11cc22238a53 7 int a, b, c;
o_mexia 0:11cc22238a53 8
o_mexia 0:11cc22238a53 9 int main()
o_mexia 0:11cc22238a53 10 {
o_mexia 0:11cc22238a53 11 a = 0;
o_mexia 0:11cc22238a53 12 b = 0;
o_mexia 0:11cc22238a53 13 c = 0;
o_mexia 0:11cc22238a53 14
o_mexia 0:11cc22238a53 15 ecuacion = ( a || ( !b && !c ) || c );
o_mexia 0:11cc22238a53 16 cout << ecuacion << endl;
o_mexia 0:11cc22238a53 17 return 0;
o_mexia 0:11cc22238a53 18
o_mexia 0:11cc22238a53 19
o_mexia 0:11cc22238a53 20 }