Skip to content

Instantly share code, notes, and snippets.

View smyy96's full-sized avatar
🪐

Sumeyye Coskun smyy96

🪐
View GitHub Profile
@smyy96
smyy96 / Baslangic.java
Last active January 20, 2022 21:27
Patika Java101 Dersi (Not Ortalaması Hesaplama) - Patika Java 101 Lesson (GPA Calculation)
package Giris;
import java.util.Scanner;
public class Baslangic {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int mathsGrade,physics,chemistry,turk,history,music;
int average=0;
@smyy96
smyy96 / KDV.java
Last active January 20, 2022 21:28
Patika Java101 dersi KDV Hesaplama - Patika Java 101 lesson VAT Calculation
import java.util.Scanner;
public class KDV {
public static void main(String[] args) {
//KDV Hesaplama - KDV Calculation
Scanner input= new Scanner(System.in);
double total=0, kdv=0;
System.out.println("Enter the fee amount:");
@smyy96
smyy96 / triAreaCalculation.java
Created January 20, 2022 22:04
Patika Java 101 Üçgen Alan Hesaplama - Patika Java 101 Triangle Area Calculation
import java.util.Scanner;
public class triAreaCalculation {
public static void main(String[] args) {
// Kenar Uzunlukları bilinen üçgenin alanını hesaplama
//Calculating the area of a triangle with known side lengths
Scanner input= new Scanner(System.in);
int first,second,third;
double area=0, u=0;
System.out.print("First side of triangle:");
first=input.nextInt();
@smyy96
smyy96 / CircleArea.java
Created January 20, 2022 22:18
Çember alan hesabı - Circle Area
import java.util.Scanner;
public class CircleArea {
public static void main(String[] args) {
Scanner input= new Scanner(System.in);
int angle,r;
System.out.print("Circle Angle:");
angle=input.nextInt();
System.out.print("Circle r:");
r=input.nextInt();
@smyy96
smyy96 / VucutKitleİndeks.java
Created January 20, 2022 22:38
Pativa Java 101 Ödev 1
import java.util.Scanner;
public class VucutKitleİndeks {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double boy,kilo;
System.out.print("Lütfen boyunuzu (metre cinsinde) giriniz :");
boy=input.nextDouble();
System.out.print("Lütfen kilonuzu giriniz :");
kilo=input.nextDouble();
@smyy96
smyy96 / ManavKasa.java
Created January 20, 2022 22:46
Patika Java 101 (Ödev 2) - Manav Kasa Programı
import java.util.Scanner;
public class ManavKasa {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int armut,elma,domates,patlıcan,muz;
System.out.print("Armut Kaç Kilo ? :");
armut=input.nextInt();
System.out.print("Elma Kaç Kilo ? :");
elma=input.nextInt();
@smyy96
smyy96 / HesapMakinesi.java
Last active January 20, 2022 23:26
Patika Java 101 - Hesap Makinesi
import java.util.Scanner;
public class HesapMakinesi {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int sayi1,sayi2, secim;
System.out.print("İlk sayıyı giriniz :");
sayi1=input.nextInt();
System.out.print("İkinci sayıyı giriniz :");
@smyy96
smyy96 / KullanıcıGirisi.java
Created January 20, 2022 23:52
Patika Java 101 - Kullanıcı Girişi
import java.util.Scanner;
public class KullanıcıGirisi {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String password,username;
String newpass,YesNo="";
String username1="patika", password1="java101";
System.out.print("Kullanıcı Adınız :");
@smyy96
smyy96 / NotHesaplama.java
Created January 21, 2022 00:08
Patika Java 101 - Not Hesaplama
import java.util.Scanner;
public class NotHesaplama {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int mat, turk, kimya, muzık, fizik;
int toplam = 0, count = 0;
System.out.print("Matematik Notu:");
mat = input.nextInt();
@smyy96
smyy96 / HavaDurumu.java
Created January 21, 2022 00:17
Patika Java 101 - Hava Sıcaklığına Göre Etkinlik Önerme
import java.util.Scanner;
public class HavaDurumu {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int sicaklik;
System.out.print("Sıcaklık Giriniz:");
sicaklik = input.nextInt();