I think that the screenshots were reasonable in this case, in order to show all the error flags. That said, any case where screenshots of code are reasonable should still include the code posted as text as well, so that we can copy and paste it ourselves to test if required. I would also like to provide corrections for the obvious issues in that code but, in order to do that, I now have to write the whole lot from scratch instead of starting with what's there and just correcting what's wrong. When strangers are volunteering their time to help you, making them do more work than is necessary is not the best way to encourage them to continue doing so.Also don't post screenshots of code. Post your actual code on the forums, by adding your code in code tags.
int hours; int payRate; int total; Console.WriteLine("How many hours do you work?"); hours = Convert.ToInt32(Console.ReadLine()); Console.WriteLine(hours); Console.WriteLine("What is your rate of pay (per hour)?"); payRate = Convert.ToInt32(Console.ReadLine()); total = payRate * hours;