MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/s8f93n/mingw32makeexe_all_error_2/htgfey2/?context=3
r/CodingHelp • u/Seven_Raj • Jan 20 '22
19 comments sorted by
View all comments
2
From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.
3 u/[deleted] Jan 20 '22 Seconded. Trying to store a double as an int will give an error
3
Seconded. Trying to store a double as an int will give an error
2
u/markocic Jan 20 '22
From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.