+ 2

I need the code for the exercise 10.2 c#

Write a program to take the monthly salary as input, calculate and generate the annual income.

20th Apr 2022, 4:20 AM
Misael Guillermo Matos Beriguete
Misael Guillermo Matos Beriguete - avatar
2 Answers
+ 3
show your code attempts 👇👇👇👇
20th Apr 2022, 5:43 AM
NonStop CODING
NonStop CODING - 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) { //int salary = Convert.ToInt32(Console.ReadLine()); //your code goes here decimal monthSalary = int.Parse(Console.ReadLine()); Console.WriteLine(monthSalary*12); } } }
30th Oct 2022, 3:59 PM
Kanagaraj Arunthadhy
Kanagaraj Arunthadhy - avatar