public class HelloWorld{
public static void main(String []args){
System.out.println(calc(3, 1, 8));
System.out.println(calc(3, 1, 9));
System.out.println(calc(3, 2, 10));
}
public static boolean calc(int small, int big, int len){
int xxx = len / 5;
int yyy = len % 5;
return xxx <= big && yyy <= small;
}
}
var rotation = 0; // variable to do rotation with
$(".slider-wrapper .circle").click(function() {
rotation = (rotation + 45) % 360; // the mod 360 probably isn't needed
$(this).rotate(rotation);
// this code is inside form2
public string LabelText
{
get
{
return this.LB_name.Text;
}
set
{
this.LB_name.Text = value;
}
}
private void B_Ready_Click(object sender, EventArgs e)
{
var f2 = new Form2();
f2.LabelText = "bla bla";
f2.Show();
}