Skip to content

Commit

Permalink
Update generateSequence.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Josseye authored Jan 25, 2024
1 parent 7205952 commit a844687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homework/generate-sequence/generateSequence.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ std::vector<int> generateSequence(int count, int step) {
std::vector<int> returnvector = {};
int i, number;
for (i = 0; i < count; ++i) {
number=(step+(i*step));
number = (step + (i * step));
returnvector.push_back(number);
}
return returnvector;
Expand Down

0 comments on commit a844687

Please sign in to comment.