0

Why my code doesn't work?

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { decimal monthsalary = int.Parse(Console.ReadLine ()); Console.WriteLine(monthSalary * 12 );

27th Dec 2022, 4:53 PM
Brahim Abazaj
Brahim Abazaj - avatar
5 Réponses
+ 4
Please DO NOT RE-POST THE SAME QUESTION. Only link related threads and codes. Link your complete code.
27th Dec 2022, 5:08 PM
Lisa
Lisa - avatar
+ 1
This is not a complete code? Where are all the closing "}"?
27th Dec 2022, 5:18 PM
Lisa
Lisa - avatar
0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { decimal monthsalary = int.Parse(Console.ReadLine ()); Console.WriteLine(monthSalary * 12 );
27th Dec 2022, 5:17 PM
Brahim Abazaj
Brahim Abazaj - avatar
0
Thanks
27th Dec 2022, 5:18 PM
Brahim Abazaj
Brahim Abazaj - avatar
0
Ok now I understand thank you
27th Dec 2022, 5:20 PM
Brahim Abazaj
Brahim Abazaj - avatar