0
Quick solution pleasssse
8 odpowiedzi
+ 1
All methods should average at the same speed because the number of loops is known at compile time.
+ 4
A faster solution would be to run it and see.
+ 3
Did you have a main function around it?
#include <iostream>
using namespace std;
int main() {
int v=5;
for(v=10;v<15;v=v+5)
cout<<v;
return 0;
}
0
int v=5;
for(v=10;v<15;v=v+5)
cout<<v;
0
cout ???
0
error (for)
0
error
0
compilation