I don't know how to declare variable prw in line 21. I need a little help. I make it on my way. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't know how to declare variable prw in line 21. I need a little help. I make it on my way.

https://code.sololearn.com/c9XRvs37KM7T/?ref=app

28th Aug 2020, 9:28 AM
TeaserCode
3 Answers
+ 1
Line 11: int prw = 0; Should be: int pwr = 0; Just a typo 😁
28th Aug 2020, 9:33 AM
Rowsej
Rowsej - avatar
+ 1
It is ok, but it evaluates to -1073741571????
28th Aug 2020, 10:03 AM
TeaserCode
+ 1
Can you share the updated version of your code?
28th Aug 2020, 11:56 PM
Rowsej
Rowsej - avatar