Well, I think also that everything is a trick, we only need to think of the trick we should use in the situations we encounter.
anyway, BrainN, if you want to combine them as two int values, you can...
Type: Posts; User: ConanCoder
Well, I think also that everything is a trick, we only need to think of the trick we should use in the situations we encounter.
anyway, BrainN, if you want to combine them as two int values, you can...
it's NO BIG DEAL, I mean the program runs very normal, but with spaces in scanf in the code you did (for example), u should enter the values like this " 3" without space u can enter it like this "3"...
Uhm.. well first of all I would prefer NO spaces in the scanf, and your code does what you want, but it organize the array from left(biggest) to right(smallest).
you may also use some of the...
Haha good, thanks for correcting me :D
I would like to give you some notes:
1) functions should not be in main.
2) I would prefer you not to use too much spaces, such as: main (void) or StringOne [50], I mean u can do it like this...
I agree with them, you should really use functions for these things, cuz it's too much lines in main. and I'd like to add if you want to make the user perform as many operations as they want, well...
you guys, you really need to chill out, you don't tell me what should I do, u r NOT my bosses, even though the rules prevent these things, and grumpy if u don't want to help with homeworks, very...
I bumped once tho, by the way I've read that link more than 10 times, and still didn't know anything...
guys I always try reading tuts and searching be4 posting so... :P
7th... I'm sorry to tell you u r wrong mate :D.. and I try my best be4 posting here... anyway I solved my problem alone so that's okay <3
Oh okay my bad, thought it's okay if I give him this... I won't do it again I promise :/
BUMP .. xD sorry I really need to know this :/ any ideas :P
Thanks for the help mate, what I found hard was only that ((double* avg)) thing, I was like "what the heck should I do with it" Lol
well here you go, but next time try something by yourself first, then ask for help. (I did it fast so excuse me for the messy look)
NOTE: I assumed that the input is clear and good, which means I...
Hello everyone,
I was wondering what is the comlexity of the program I coded, I'm not good at calculating it yet...
I need to calculate time complexity in worst case.
#include <stdio.h>
void...
very well,
1st I didn't know that policy, so now I know.
2nd I didn't take that code from anyone I coded it.
3rd that's god to know it's an error code (won't compile)
4th I just asked for help,...
Hello guys, I still not good at recursion, now I had to do this for homework.
Example: array [1,2,-1,2] , the sequence's average order 1 is 1, order 2 is (1+2)/2=1.5, order 3 is (1+2-1)/3=2/3, order...
That's what I'm doing but the problem is that I'm not good at this like, I dunnu if what I did to calculate is right.
but I'm guessing the complexity is O(n). (I don't know if this is wrong or right)
worst case tho XD, and by the way the what does the program do is:
takes a number of words (n), and after that u need to input (n) words, it organize them as the dictionary.
Complexity of time :)
hello everyone, I have a problem with this complexity issue :frown:...
I don't know how to calculate it :frown:
so, please can anyone tell me what is the complexity time of this code. (worst case)...
LMFAO, I'm so idiot, nevermind I've solved it, I totally understood it the wrong way at the first place O.o
I's noobie try tho, but I think I've got the idea.. eventho I still need help :P
sure, since I'm posting my first time here xD, sorry I don't know the rules, but here's what I've tried.
I know it's full of bugs tho :P
#include <stdio.h>
#define DISTANCE 'A'-'a'
int...
Question:
write a function that recieves a string(phrase), and returns 1, if every word in the sentence starts with a letter that comes after the letter in the previous word, (example: and Big ...