Question

Good Evening, I am a bit confused with what I need to do for the question...

Good Evening,

I am a bit confused with what I need to do for the question below. Any help would be greatly appreciated. Thank you
media%2F75c%2F75cb7148-6941-4295-8943-34
0 0
Add a comment Improve this question Transcribed image text
Answer #1

//program.cs

using System.IO;
using System;

class Program
{
    static void Main()
    {
        Console.WriteLine("Pay Calculator!\n");
        // asking the hours
        Console.Write("Enter the hours : ");
        float hours = float.Parse(Console.ReadLine());
        Console.WriteLine();
        //asking the rate
        Console.Write("Enter the rate : ");
        float rate = float.Parse(Console.ReadLine());
        Console.WriteLine();
        // displaying pay
        Console.WriteLine("Total Pay : "+(rate*hours));
      
      
    }
}

// OUTPUT

Pay Calculator!

Enter the hours : 40
Enter the rate : 45
Total Pay : 1800

Please do let me know if u have any concern.

Add a comment
Know the answer?
Add Answer to:
Good Evening, I am a bit confused with what I need to do for the question...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT