S.W.A.T
HAKAN   San Francisco, California, United States
 
 
Twitter
İnstagram [instagram.com]

Artwork Showcase
Nipa Nimayo
139 8 2
Craft Counting Program Open Source Codes
//I wrote with dev c++.
//How it's works
//Example your level is 50 and you want to be 75 level. You need craft 145 times your cards.
//50-- 5times --51 51-- 5times --52 .... 60-- 6times --61.... 74-- 7times --75
//is it useful or useless
//I just want it and I did

#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
int a,b;
cout<<"Hakan Gozubuyuk @Altair93_GTR 2013"<<endl<<endl;
q:
cout<<"Your Level :";
cin>>a;
cout<<"Target Level :";
cin>>b;
if(a<b && a>=0 && b>0 && a!=b)
{
if(b<=20)
{if(a==0){cout<<" You need to "<<b<<" times craft"<<endl;}
else {cout<<" You need to "<<b-a<<" times craft"<<endl;}
}
if(b>20)
{if(a>=20)
{int f=1;
int i;
for(i=(b-b%10)/10-1;i>0;i--)
{
f=f+i;
}
int g=1;
int j;
for (j=(a-a%10)/10-1;j>0;j--)
{
g=g+j;
}
cout<<"You need to "<<((f-2)*10+(b-b%10)/10*(b%10)+20)-((g-2)*10+(a-a%10)/10*(a%10)+20)<<" times craft"<<endl;
}
else {
int h=1;
int k;
for (k=(b-b%10)/10-1;k>0;k--)
{
h=h+k;
}
cout<<"You need to "<<(h-2)*10+20-a+(b-b%10)/10*(b%10)<<" times craft"<<endl;}
}
} else {cout<<"Wrong counting."<<endl<<endl; goto q;}
system("PAUSE");
return EXIT_SUCCESS;
}
Recent Activity
2,341 hrs on record
last played on 20 Feb
176 hrs on record
last played on 17 Feb
400 hrs on record
last played on 11 Feb
シングルマン 2 Jul, 2021 @ 2:34pm 
-rep cheatre
A+ w00dz 14 May, 2021 @ 11:23am 
kanka kasaları satmak istersen eklesene
Kuroro 6 May, 2021 @ 1:42pm 
:FlyingTent::happy_creep::blissful_creep::blissful_creep::FlyingTent::calm_creep::calm_creep::yawning_creep:
:mean_creep::happy_creep::happy_creep::blissful_creep::blissful_creep::calm_creep::calm_creep::yawning_creep::yawning_creep:
:mean_creep::mean_creep::happy_creep::happy_creep::blissful_creep::blissful_creep::calm_creep::calm_creep::yawning_creep:
:angry_creep::mean_creep::mean_creep::happy_creep::happy_creep::blissful_creep::calm_creep::calm_creep::calm_creep:
:FlyingTent::angry_creep::mean_creep::mean_creep::happy_creep::happy_creep::calm_creep::calm_creep:
:FlyingTent::FlyingTent::angry_creep::mean_creep::mean_creep::happy_creep::happy_creep:
:FlyingTent::FlyingTent::FlyingTent::angry_creep::mean_creep::mean_creep:
:FlyingTent::FlyingTent::FlyingTent::FlyingTent::angry_creep:
sk1tch 2 May, 2021 @ 6:01am 
please stop playing cs
»RøKú«™ 1 May, 2021 @ 5:56am 
Ein hurensahn türke braucht exe für skills :csgogun:
CUM TSAR 23 Aug, 2020 @ 10:20am 
+реп хороший игрок ПОДПИСЫВАТЬСЯ