Browse Source

carrots

master
DEW 11 months ago
parent
commit
2a43f412c6
  1. BIN
      .DS_Store
  2. 2
      .gitignore
  3. BIN
      carrots
  4. 13
      carrots.cpp
  5. BIN
      myfirst
  6. 7
      myfirst.cpp

BIN
.DS_Store

Binary file not shown.

2
.gitignore

@ -1 +1 @@
.idea
.git

BIN
carrots

Binary file not shown.

13
carrots.cpp

@ -0,0 +1,13 @@
#include <iostream>
int main(){
using namespace std;
int carrots;
carrots =25;
cout << "I have ";
cout << carrots;
cout << " carrots.";
cout << endl;
carrots = carrots -1 ;
cout << "Crunch, crunch. Now, I have " << carrots << " carrots." << endl;
return 0;
}

BIN
myfirst

Binary file not shown.

7
myfirst.cpp

@ -0,0 +1,7 @@
#include "iostream"
int main(){
using namespace std;
cout << "hello~" <<endl;
cout << "你好~";/*123*/
return 0;
}
Loading…
Cancel
Save