Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#include <iostream>
using namespace std;
int main() //counter
{
int days = 10;
while (true) {
days -= 1; // takes one away from days
if (days == 0)
{
//time for the change
days = 10;
}
}
return 0;
}