QuestionQuestion

Problem Description:
Design and Code the Application (feel free to use your own colors and design). Use the application with controls, icons, Picture Box....you can use your own colors pictures and Icon. Make the Calculate button work, that display the Total and average of the Expenses on June, July and August, (Make sure you use Convert and declare the Variables), use the Selection Structure to display A Message Box with the Message " Expenses Above Average" if the average is greater than $1000 or the message "The average expenses is reasonable" otherwise. Make the Clear and the Exit button work.

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

namespace ExpensesCalculator
{
    public partial class FrmExpensesCalculator : Form
    {
       public FrmExpensesCalculator()
       {
            InitializeComponent();
       }
       // The calculate button function
       private void BtnCalculate_Click(object sender, EventArgs e)
       {
            // Declare and set variables to 0
            double junExp, julExp, augExp, totExp, avgExp = 0;
            // Convert the textbox values to numerical values to place in variables
            junExp = Convert.ToDouble(txtJune.Text);
            julExp = Convert.ToDouble(txtJuly.Text);
            augExp = Convert.ToDouble(txtAugust.Text);
            // Total the monthly expense numerical values
            totExp = junExp + julExp + augExp;
            // Avervage the monthly expense numerical values
            avgExp = totExp/3;
            // Checks to see if the average expense is over 1000
            if (avgExp>1000)
            {...

By purchasing this solution you'll be able to access the following files:
Solution.zip.

50% discount

Hours
Minutes
Seconds
$8.00 $4.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available C-Family Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats