0

Help C#

Can someone tell what is wrong with this code and explain it to me? static void Main(string[] args) { int checkingAccount = 5; int savingAccount = ++checkingAccount; //fix the code Console.WriteLine(checkingAccount); Console.WriteLine(savingAccount);

12th Nov 2021, 8:46 AM
Andrius Savčiukas
3 Answers
+ 2
You are missing a closing curly brace
12th Nov 2021, 12:09 PM
Solo
Solo - avatar
0
First tell me what do you want to do in this code so We can help you.. Thanks Andrius Savčiukas See below Code 👇👇 https://code.sololearn.com/cAMgCbhPvap2/?ref=app
12th Nov 2021, 9:07 AM
SùñtÎsh
SùñtÎsh - avatar
0
Its with the prefixes. The answer should be cA=4, sA=13 I managed to fix it, but without knowing how I’m doing it. But the sA should be 12 in the top
12th Nov 2021, 9:09 AM
Andrius Savčiukas