Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 WindowsFormsApp10
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void btnKlik_Click(object sender, EventArgs e)
- {
- float tal1 = 5.5f;
- double tal2 = 5.75;
- int tal3 = 7;
- //tal2 = tal1 + tal3;
- tal3 = (int) tal1 + (int) tal2;
- MessageBox.Show(tal3.ToString());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement