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.Windows.Forms;
- namespace Kalkulator_za_kvote
- {
- public partial class Form1 : Form
- {
- public float a;
- public float b;
- public float c;
- public float d;
- public float dd;
- public float f;
- public float g;
- public float rez;
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- a = float.Parse(textBox1.Text);
- b = float.Parse(textBox2.Text);
- c = float.Parse(textBox3.Text);
- d = float.Parse(textBox4.Text);
- dd = float.Parse(textBox5.Text);
- f = float.Parse(textBox6.Text);
- g = float.Parse(textBox7.Text);
- if (a > 0)
- {
- a = rez;
- rez = float.Parse(textBox8.Text);
- }
- if (a > 0)
- {
- rez = a * b;
- rez = float.Parse(textBox8.Text);
- }
- if (a > 0 && b > 0)
- {
- }
- if (a > 0 && b > 0 && c > 0)
- {
- }
- if (a > 0 && b > 0 && c > 0 && d > 0)
- {
- }
- if (a > 0 && b > 0 && c > 0 && d > 0 && dd > 0)
- {
- }
- if (a > 0 && b > 0 && c > 0 && d > 0 && dd > 0 && f > 0)
- {
- }
- if (a > 0 && b > 0 && c > 0 && d > 0 && dd > 0 && f > 0 && g > 0)
- {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement