mirrored_repositories/Mobile-Programming-Lecture-Notes
void main(){
  selamVer2("Engin");
  selamVer2("Engin");
  selamVer2("Ayşe");
  selamVer2("Engin");
  selamVer2("Engin");

  var hesapSonucu = hesapla(100000,15);
  print(hesapSonucu);

  test1(1,2);
  test2(sayi2:1,sayi3:2,sayi1:3);
}

void selamVer(){
  print("Selam");

}

void selamVer2(String kullanici){
  print("Selam " + kullanici);
}

double hesapla(double krediTutari, double yuzde){
   var sonuc =  krediTutari * yuzde /100;
   return sonuc;
}

void test1(int sayi1, [int sayi2, int sayi3]){
  print(sayi1);
  print(sayi2);
  print(sayi3);
}

void test2({int sayi1, int sayi2, int sayi3}){
  print(sayi1);
  print(sayi2);
  print(sayi3);
}
