- #include<iostream>
- using namespace std;
- int main (
- {
- enum Color (Red,Green,Blue);
- Color colori
- color=Red;
- cout<<color<<",";
- color=Green;
- cout<<color<<","i
- color=Blue;
- cout<<color<<",";
- cout<<Red+Green+Blue<<endl;
- return 0;
- }
- #include<iostream>
- using namespace std;
- int main (
- {
- enum Color (Red,Green,Blue);
- Color colori
- color=Red;
- cout<<color<<",";
- color=Green;
- cout<<color<<","i
- color=Blue;
- cout<<color<<",";
- cout<<Red+Green+Blue<<endl;
- return 0;
- }
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会