C# Matematik Komutlarının Uygulaması - C# Application of Mathematics Instructions
MatKomut
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 MatKomut
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
button1.Text = "LİSTELE";
}
private void button1_Click(object sender, EventArgs e)
{
listBox1.Items.Add(Math.PI);
listBox1.Items.Add(Math.Abs(-10.2));
listBox1.Items.Add(Math.Cos(30 * (Math.PI / 180)));
listBox1.Items.Add(Math.Sin(30 * (Math.PI / 180)));
listBox1.Items.Add(Math.Max(-12, -0.0025));
listBox1.Items.Add(Math.Round(3.2));
listBox1.Items.Add(Math.Round(3.7));
listBox1.Items.Add(Math.Ceiling(3.2));
listBox1.Items.Add(Math.Ceiling(-3.2));
listBox1.Items.Add(Math.Floor(3.2));
listBox1.Items.Add(Math.Floor(-3.2));
}
}
}
C# Matematik Komutlarının Uygulaması - C# Application of Mathematics Instructions
Reviewed by MARS
on
Eylül 11, 2017
Rating:

Hiç yorum yok: