Ekim 2011
5 gönderi
seconf v generating
import java.util.Random; public class odev2 { /** *  */ public static void main(String[] args) {  Random rnd = new Random(); System.out.println(“Welcome , Generating Phone Number”); for (int i = 0; i < 1 ; i++) { int addn = rnd.nextInt(10); int firstn = rnd.nextInt(6)+2; int secn = rnd.nextInt(90)+10; int thirt = rnd.nextInt(643)+100; int five...
Ek 30
frist version (generating)
import java.util.Random;public class odev2 { /** *  */ public static void main(String[] args) {  Random rnd = new Random(); System.out.println(“Welcome , Generating Phone Number”); for (int i = 0; i < 1 ; i++) { int addn = rnd.nextInt(10); int firstn = rnd.nextInt(9); int secn = rnd.nextInt(90)+10; int thirt = rnd.nextInt(643)+100; int five = rnd.nextInt(100); int six =...
Ek 30
Generating Phone Number
//Osman Erdi Balcoğlu 2k935016  import java.util.Random; public class odev2 { /** *  */ public static void main(String[] args) {  Random rnd = new Random(); System.out.println(“Welcome , Generating Phone Number”); for (int i = 0; i < 1 ; i++) { int addn = rnd.nextInt(10); int firstn = rnd.nextInt(6)+2; int secn = rnd.nextInt(100); int thirdn =...
Ek 30
Java exercise
/** Osman Erdi Balcıoğlu 2k935016 first HomeWork */ import java.util.Scanner; public  class odev { public static void main(String[] args) { Scanner girdi = new Scanner(System.in ); System. out.println(“Please , enter ‘r’ and ‘h’ to calculate cylinder field and volume” ); System. out.print(“Please enter "r" value: ” ); int ...
Ek 19
Ödev I
Bitane silindirin alanını ve hacmini hesaplayın scanera input yap  sonra arkasından silindirin hacim alan formulunu  sey yap
Ek 10