How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLPROG Your Own Question

ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7677
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

I need to convert the C# console code below to a GUI version

Customer Question

I need to convert the C# ***** code below to a GUI version in C#using System;
public class TippingTable
{
public static void Main()
{
double dinnerPrice = 10.00;
double tipRate;
double tip;const double LOWRATE = 0.10;
const double MAXRATE = 0.25;
const double TIPSTEP = 0.05;
const double MAXDINNER = 100.00;
const double DINNERSTEP = 10.00;Console.Write(" Price");
for(tipRate = LOWRATE; tipRate <= MAXRATE;
tipRate += TIPSTEP)
Console.Write("{0, 8}" , tipRate.ToString("F"));
Console.WriteLine();
Console.WriteLine("----------------------------------------");tipRate = LOWRATE;while (dinnerPrice <= MAXDINNER)
{
Console.Write("{0, 8}", dinnerPrice.ToString("C"));
while (tipRate <= MAXRATE)
{
tip = dinnerPrice * tipRate;
Console.Write("{0, 8}",tip.ToString("F"));
tipRate += 0.05;
}
dinnerPrice += DINNERSTEP;
tipRate = LOWRATE;
Console.WriteLine();
Console.ReadLine();}
}
}
Submitted: 10 months ago.
Category: Programming
Expert:  Satchi replied 10 months ago.

Hi ,

Welcome to Justanswer.com.

Can you please let me know little bit more about the GUI requirement ?

Regards ,

Satchi