Skip to content

Instantly share code, notes, and snippets.

# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'walking' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for walking
# Your 'node_modules' directory is probably in the root of your project,
import React, {Component} from 'react';
import {reduxForm} from 'redux-form';
import {connect} from 'react-redux';
import _ from 'lodash';
import { selectAllDimension } from './../../actions/studio-setting-actions';
var FIELDS = {};
class SetingPriceList extends Component{
public void lookandsay(String str)
{
int[] intArray = new int[str.length()+1]; //str boyutu kadar array oluşturulur
//Bir sonraki eleman ile kontrol ettiğimiz için bottan 1 fazla olarak oluşturuyoruz.
for(int i=0;i<str.length();i++) //str de bulunan her karakte int'e çevrilerek diziye kelenir
intArray[i]=Character.getNumericValue(str.charAt(i));
int x=1;
String result="";
@ahmetilhann
ahmetilhann / gist:7794496
Last active December 30, 2015 07:09
Girilen bir sayıdan büyük en küçük asal sayıyı hesaplama
#include <stdio.h>
void asalsayiya (int *aptr);
bool isprime (int *aptr);
void main()
{
int a,*aptr;
printf("Bir sayi giriniz:");
scanf_s("%d",&a);
aptr=&a;
asalsayiya(aptr);