A
Adedoja
I will like to know if this program is acceptable. Infact Iam not a C+
+ programmer, Iam an old student with old language, but Iam doing fine
to work on any language. My program is this:
1: #include <iostream>
2: int main()
3:{
4: const int sunday = 0;
5: const int monday = 1;
6: const int tuesday = 2;
7: const int wednesday = 3;
8: const int thursday = 4;
9: const int friday = 5;
10 const int saturday = 6;
11:
12: int today
13: today = monday;
14:
15: if (today == sunday
16: today == saturday
17: std::cout << "\ngotta' Love the weekends!\n";
18: else
19: std::cout << "\nback to work.\n";
20:
21: return 0;
22: }
+ programmer, Iam an old student with old language, but Iam doing fine
to work on any language. My program is this:
1: #include <iostream>
2: int main()
3:{
4: const int sunday = 0;
5: const int monday = 1;
6: const int tuesday = 2;
7: const int wednesday = 3;
8: const int thursday = 4;
9: const int friday = 5;
10 const int saturday = 6;
11:
12: int today
13: today = monday;
14:
15: if (today == sunday
16: today == saturday
17: std::cout << "\ngotta' Love the weekends!\n";
18: else
19: std::cout << "\nback to work.\n";
20:
21: return 0;
22: }