View gist:47e32f2458dcbccdc9b8e60e673eef67
------------------------
COMMAND : ADDFRIEND ahmet zeki
Error: Please sign in and try again.
------------------------
COMMAND : ADDFRIEND ahmet selman
Error: Please sign in and try again.
------------------------
COMMAND : ADDFRIEND ahmet murat
Error: Please sign in and try again.
------------------------
View gist:f80fdda0c496d6efa0d26fd85efe417a
Public void addToCart(Item i){
if (SoppingCart == null)
ShoppingCart = new ArrayList<Item>();
ShoppingCart.add(i)
}
View gist:5d6a63fc75b887c6625931a3583d0eeb
InternationCustomer ic =new InternationCustomer(Integer.parseInt(st1.nextToken()), st1.nextToken(), st1.nextToken());
customer1[customerSay] = ic;
View gist:8229539258a0198ad25a294775203e92
package project1;
public class NationalCustomer extends Customer{
private int LicensePlateNumber;
private String Occupation;
public NationalCustomer() {
View gist:6a1aff78be13079847c4fd1a23472266
package project1;
public class InternationalCustomer extends Customer {
private String Country;
private String City;
public InternationalCustomer(){
View gist:f6c80f374bab2767c019900a9834f72c
package project1;
public class Customer {
private int CustomerID;
private String Name;
private String Surname;
View gist:ae96626819cdcd1cd6b8641dd3aebdc1
package hackerank;
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
View fun.py
num = int(input(""))
while(num != 0):
num_bin = bin(num)[2:]
odds_bin = ""
evens_bin = ""
j = 0
for i in range(0, len(num_bin)):
if (int(num_bin[i])%2== 0):
odds_bin += "0"
evens_bin += "0"
View fun.py
num = int(input(""))
while(num != 0):
num_bin = "00" + bin(num)[2:]
odds_bin = ""
evens_bin = ""
for i in range(len(num_bin)):
if (i%2 == 0):
odds_bin += num_bin[i]
evens_bin += "0"
else:
View fun.py
num = int(input(""))
while(num != 0):
num_bin = "00" + bin(num)[2:]
odds_bin = ""
evens_bin = ""
for i in range(len(num_bin)):
if (i%2 == 0):
odds_bin += num_bin[i]
evens_bin += "0"
else: