SRL Archive - Archive

prayer_ - SRL Member Application


prayer_

2013-03-02 14:44:50

How Long have You Played Runescape?
5 Year(s)


Are you affilated in anyway with Jagex LTD?
no

Were you Referred to SRL?



What is your general programming knowledge?
I have taken a 2 year course in C++, i am however new with java but it has generally smiler type of coding.


Are you a member of any other communities?
no


Tell us about yourself…
From: prayer_
Im 16 i enjoy playing 07scape at times. I enjoy coding for fun but i still need to practice. I play triple a hockey and basketball.



Please show us one (or multiple) of your scripts.
This is a c++ program.

#include <cstdlib>
#include <iostream>

using namespace std;

int main() {

cout<<"=========================Welcome to your Histrogram============================"<<endl<<endl;

int number = 0; //generate number
int count = 0; // couter to loop code x times
int one = 0; // to hold frequecny from 0-10
int two = 0; // to hold frequecny from 11-20
int three = 0; // to hold frequecny from 21-30
int four = 0; // to hold frequecny from 31-40
int five = 0; // to hold frequecny from 41-50
int six = 0; // to hold frequecny from 51-60
int seven = 0; // to hold frequecny from 61-70
int eight = 0; // to hold frequecny from 71-80
int nine = 0; // to hold frequecny from 81-90
int ten = 0; // to hold frequecny from 91-100
int gram = 0;
srand(time(0)); //seeds time

do
{

number = rand () % 101; //randomize from 0 to 100
//cout<<number<<endl; // print number to screen


//the nest determines the range value of the number and incremenets the frequency of that range by one
if ((number >= 1) && (number <=10))
one++;
else if ((number >= 11) && (number <= 20))
two++;
else if ((number >= 21) && (number <= 30))
three++;
else if ((number >= 31) && (number <= 40))
four++;
else if ((number >= 41) && (number <= 50))
five++;
else if ((number >= 51) && (number <= 60))
six++;
else if ((number >= 61) && (number <= 70))
seven++;
else if ((number >= 71) && (number <= 80))
eight++;
else if ((number >= 81) && (number <= 90))
nine++;
else if ((number >= 91) && (number <= 100))
ten++;

count++;

} while (count < 10000);



cout<< "Range Frequency "<<endl<<endl;;

cout<<"1-10: ";
for (gram = 0;gram < one/50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"11-20: ";
for (gram = 0;gram < two / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"21-30: ";
for (gram = 0;gram < three / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"31-40: ";
for (gram = 0;gram < four / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"41-50: ";
for(gram = 0;gram < five / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"51-60: ";
for(gram = 0;gram < six / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"61-70: ";
for(gram = 0;gram < seven / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"71-80: ";
for(gram = 0;gram < eight / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"81-90: ";
for(gram = 0;gram < nine / 50; gram++)

{
cout<<"|";
}
cout<<endl;

cout<<"91-100:";
for(gram = 0;gram < ten / 50; gram++)

{
cout<<"|";
}
cout<<endl;


system("PAUSE");
return EXIT_SUCCESS;
}

Dervish

2013-03-02 15:08:12

You need to apply with a Simba script. Please read this guide.

[XoL]

2013-03-02 15:36:18

^^ also that program is pretty basic, also please note to become an SRL member you need to be apart of the community meaning you try to contribute to them (having one post) really doesn't show that.

Benny

2013-03-03 16:17:45

Voting no as a lack of activity and community commitment. Sorry. Please read the guidelines on applying before trying again.

Press Play

2013-03-03 16:47:28

No. You need community involement as other have noted. Your script also needs to show knowledge of the SRL include - the rank "SRL" Member gets its name from somewhere…

Justin

2013-03-03 23:48:34

See above posts.

Hobbit

2013-03-06 22:21:39

Please check out the tutorial section to learn some scripting techniques. Also involve yourself in the community and get to know us! That is a big part of being a member at SRL.

Feel free to try again in 4 weeks. :)

Closed