Question: Write the C# code in the main function below to:(6 marks) Request from the user to enter his weekly salary in AUD Convert the salary

Write the C# code in the main function below to:(6 marks)

  1. Request from the user to enter his weekly salary in AUD
  2. Convert the salary to USD (1 AUD=0.7 USD)
  3. Display it on the screen

using System;

public class HelloWorld

{

public static void Main(string[] args)

{

//Write the code below

}

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!