Why project don't work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why project don't work

I make projekt, input and expected output are the same, but program write erorr, what happen?

28th Apr 2022, 1:43 PM
Егор Макеев
Егор Макеев - avatar
5 Answers
+ 3
What kind of error? Please link your code so we can check on it. Also summarize what the code is supposed to do and give us exame input and output so we can test it.
28th Apr 2022, 1:48 PM
Lisa
Lisa - avatar
+ 1
You can link your code like this: Go to Code section, click +, select the programming language, insert your code, save. Come back to this thread, click +, select Insert Code, sort for My Code Bits, select your code. 👉Which error do you get?
28th Apr 2022, 2:05 PM
Lisa
Lisa - avatar
+ 1
thank you for help, i don't know what am i do, but i fix this, thanks again!!!
28th Apr 2022, 2:13 PM
Егор Макеев
Егор Макеев - avatar
+ 1
Great that you were able to fix it!
28th Apr 2022, 2:14 PM
Lisa
Lisa - avatar
0
Projekt name is Countdown #include <iostream> using namespace std; int main() { int n; cin >> n; for(;n > 0;n--) { cout << n << endl; if(n%5 == 0){cout << "Веер" << endl;} } //ваш коl return 0; }
28th Apr 2022, 2:00 PM
Егор Макеев
Егор Макеев - avatar