Download button

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
using
using
using
using
using
using
using
using
using
System;
System.Collections.Generic;
System.ComponentModel;
System.Data;
System.Drawing;
System.Linq;
System.Text;
System.Threading.Tasks;
System.Windows.Forms;
namespace bc170400295
{
public partial class bc170400295 : Form
{
int cc, ww;
public bc170400295(int c , int w)
{
InitializeComponent();
cc = c;
ww = w;
}
private void button1_Click(object sender, EventArgs e)
{
if (ww > cc)
{
MessageBox.Show("not suffiecent balance");
}
else
{
int nb = cc - ww;
MessageBox.Show("remaining blance " + nb);
}
}
}
}
Related documents