Best advice so far,and believe it lead to the solution!
Thank you :)
Type: Posts; User: Kadmany
Best advice so far,and believe it lead to the solution!
Thank you :)
Guys,no any ideas?
Its not to do my homework,here is what I know about merge-sort:
You get an array with random values in cells,You divide the array into two,then each part divided you divide again into two you keep...
Guys plz whats the modifications must be done?
Hey man thanks again,I gotta say,i have already mentioned that I know there is an error in for loop plus I gotta improve it,I am just unable to geuss whaat these conditions!!
Couldnt you please just...
Hey IMalc,I think I understand what you sayin,the only thing is what should I change the base + len to? Could you please write me the same two for loops with the right argument passing?
Thank you...
Hey man,I think I better fix my english :P,No,I ment that the algorithm is designed for power-of-two arrays only,I need that for any poer-of-number hehe
Hey everyone,thanks for help,but I must mentiona few things,this code was taken from a lecture,it was designed for array which their length is of the power 2,it should work fine the only thing is...
man I am trying my best but still unable to to make this work for any length of an array,plz help :(!
yo yo sup?
so I get this Merge-Sort to be implemented in c,look:
**Please notes this:1-The arrays are not sorted and still I got to merge them.
2-Running time must be of order O(n*log(n))
...
Hello,whats popin ?
I got this 2nd array
for(i=0;i<GAME_BOARD_ROWS_SIZE;i++){
#include <stdio.h>
#define STOP_INPUT 101
int cnt=0,check,scanf_result;
double min=0,max=0,average=0,sum=0,grade;
int main(){
printf("Please enter the grades : ");
Hello,
First of all,thank you all very much for helping me,Before I continue I want to stress that
I didn't just throw a "Homework" on the net just because I am bored to do it :),as you all see...
Hmm I read scanf() in wiki,but I still cant understand how to solve this,my only problem is to know how I could make scanf() recieve as input numbers with spaces between them and then stop at 22 :(
first of all thank you,
Second off,I am sorry for referring to you with the word "dude" but its just i thought it was a good word in english ,,, :)
Its not you doing my homework,it is just I couldnt understand the thing with the EOF,I couldnt understand whats is the value of scanf when the input if illegal,dude I like searched the net for...
Hello,
I have some "issues" they are pretty simple,but somehow I cant write them ;
=I am allowed to use While,if,else,<stdio.h>
1-I got to recieve a series of grades 0-100 and when finishe...