Beruflich Dokumente
Kultur Dokumente
Input:
User inputs Items wholesale cost and markup percentage.
User can press Calculate and Exit Buttons.
Output:
The Program will display the Retail Price of the Item(s).
Source Code:
/*
Project: Retail Price Calculator
File: Form1.cs
Name: Brandon Mitchell
Section: S11
Date Written: November 1st 2016
Purpose: Calculates the Retail Price of a purchase.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Retail_Price_Calculator
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
else
{
MessageBox.Show("Enter a Valid Number.");
}
}
else
{
MessageBox.Show("Enter a Valid Number.");
}
}
Once the User fills out the fields, they can press Calculate to generate the
Retail Price.
If the user enters a character other than a number, an Error Message will be
displayed.
When the User has finished using the program, they may select the Exit
button in order to close the program.