Bug fixing
This commit is contained in:
+5
-5
@@ -1,12 +1,12 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main()
|
||||||
|
{
|
||||||
auto max_value = 100;
|
auto the_max_value = 100;
|
||||||
int total = 0;
|
int total = 0;
|
||||||
for (int i = 0; i < max_value; ++i) {
|
for (int v = 0; v < the_max_value; ++v) {
|
||||||
total += i;
|
total += v;
|
||||||
}
|
}
|
||||||
std::cout << "Total: " << total << std::endl;
|
std::cout << "Total: " << total << std::endl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user