d2jsp Forums > Off-Topic > Programmer's Haven > C/C++/C# > Need Help With C# Assignment
Add Reply New Topic New Poll
Group: Member
Posts: 7,995
Joined: Jul 20 2008
Gold: 0.00
Aug 18 2022 11:47am

How much fg you want?
Group: Member
Posts: 16,886
Joined: Sep 27 2012
Gold: 147,684.00
Aug 18 2022 12:26pm
Pm me on discord I can help
Group: Member
Posts: 1,362
Joined: Feb 8 2022
Gold: 21,060.69
Sep 13 2022 02:11pm
You never declared what "counts" is. This code is all over the place. If you going to use a flow chart for the logic, you should make it easy to understand. Than work out the syntax after. The complier doesn't know what counts is. And if you going to declare sum, it might be better to declare it on top before loops logics. You might need to use a true//false logic to know which loop it will pick. You should also maybe put a error message in the for loop so it can help you with bugs if any error. Anyways I don't need to charge you anything. GL my friend, don't get discouraged if it all seems complex, spend more time reading on logic, do some practice programming questions.
Go Back To C/C++/C# Topic List
Add Reply New Topic New Poll