![]() |
|
Count to 10 Before an Admin Posts! - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: General (https://sinister.ly/Forum-General) +--- Forum: The Lounge (https://sinister.ly/Forum-The-Lounge) +--- Thread: Count to 10 Before an Admin Posts! (/Thread-Count-to-10-Before-an-Admin-Posts) |
RE: Count to 10 Before an Admin Posts! - Anizeb - 07-22-2013 5. What's the highest we've made it to? RE: Count to 10 Before an Admin Posts! - Sapientia - 07-22-2013 I think the highest was like 8 or 9... were almost there. Oh wait ![]()
RE: Count to 10 Before an Admin Posts! - Xiledcore - 07-22-2013 No, we did 10 once. ![]() Code: #include <iostream>
#include <string>
using namespace std;
int main()
{
int sC;
string strA("azkhe");
sC = strA.length() - 4;
cout << sC << endl;
system("PAUSE");
return 0;
}Sorry guys, It's just kinda boring only typing a number and a random sentence to bypass the spam filters. This is more fun. xD RE: Count to 10 Before an Admin Posts! - Anizeb - 07-22-2013 A little tired of Python for today, but... Code: words = "Damnit Sap"
words = len(words.split(" "))
print(words)
input()RE: Count to 10 Before an Admin Posts! - Love - 07-22-2013 I guess were at 3 now? Not really sure. counting above two posts. RE: Count to 10 Before an Admin Posts! - Blue - 07-22-2013 No your at 0 silly learn to count.<3 RE: Count to 10 Before an Admin Posts! - Xiledcore - 07-22-2013 (07-22-2013, 10:03 PM)Blue Wrote: No your at 0 silly learn to count.<3 Go away, nub! ![]() 1. (Too lazy to do a c++ snippet) RE: Count to 10 Before an Admin Posts! - Anizeb - 07-22-2013 Code: from math import sqrt
oi = "lrn 2 code"
oi = oi.split(" ")
longest = ""
for word in oi:
if len(word) > len(longest):
longest = word
print(int(sqrt(len(longest))))
input()RE: Count to 10 Before an Admin Posts! - Shebang - 07-22-2013 Code: class Program
{
static void Main(string[] args)
{
double x = 1.0;
double y = Math.Pow(2.0, 3.0);
double z = Math.Sqrt(9.0);
x += y % z;
Console.WriteLine(x); Console.Read();
}
}RE: Count to 10 Before an Admin Posts! - Love - 07-22-2013 No I can't code for my life. 4. |