Pseudocodigo


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Practica_7_2_Windows
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
double A, I, C, T;
A = 2010 - 1624;
I = 24 * 0.05;
C = 24.0 + I;
T = C * A;
label1.Text = "El saldo al 31 de diciembre de 2010 es ";
label1.Text = label1.Text + T.ToString() + "\nDonde 24 es la cantidadcalculada por el programa.";
}
private void button2_Click(object sender, EventArgs e)
{
label1.Text = " ";
}
private void button3_Click(object sender, EventArgs e)
{
Close();
}
}
}

No hay comentarios:
Publicar un comentario