| c# | 
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 çarpimtablosu
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();
            double sayi = double.Parse(comboBox1.Text);
            for (int i = 1; i < 11; i++)
            {
                listBox1.Items.Add(sayi + " * " + i + " = " + (sayi * i));
            }
        }
    }
}
Sitemizin daha kaliteli paylaşımları yapabilmesi için sizin yorumlarınıza ihtiyacımız var :)
0 yorum :
Yorum Gönder