The_road_to_learn_C++
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
298 B

#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;
}