| | |
HELP!!ASAP!!pls..
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jan 2009
Posts: 6
Reputation:
Solved Threads: 0
and to be clear..i just need a simple c program..just enough for a 1st year student like me..Ü
#include<stdio.h>
#include<conio.h>
void MERGE(int first[],int second[]);
int array_first[5],array_second[5];
int i,j;
void main()
{
clrscr();
printf("\n\nenter first 5 values:\n");
{for (i=0;i<5;i++)
scanf("%d",&array_first[i]);}
printf("enter second 5 values:\n");
{for (j=0;j<5;j++)
scanf("%d",&array_second[j]);}
printf("first set:");
for (i=0;i<5;i++)
{printf("%d\t",array_first[i]);}
printf("\nsecond set:");
for (j=0;j<5;j++)
{printf("%d\t",array_second[j]);}
MERGE (array_first,array_second);
getch();
}
void MERGE(int first[],int second[])
{?????????????}
and i need these to be sorted..but i'm fine with the sorting..i just need the ones to be sorted..Ü
im sorry for the disturbance..and for the not-so-clear problem i gave you..
#include<stdio.h>
#include<conio.h>
void MERGE(int first[],int second[]);
int array_first[5],array_second[5];
int i,j;
void main()
{
clrscr();
printf("\n\nenter first 5 values:\n");
{for (i=0;i<5;i++)
scanf("%d",&array_first[i]);}
printf("enter second 5 values:\n");
{for (j=0;j<5;j++)
scanf("%d",&array_second[j]);}
printf("first set:");
for (i=0;i<5;i++)
{printf("%d\t",array_first[i]);}
printf("\nsecond set:");
for (j=0;j<5;j++)
{printf("%d\t",array_second[j]);}
MERGE (array_first,array_second);
getch();
}
void MERGE(int first[],int second[])
{?????????????}
and i need these to be sorted..but i'm fine with the sorting..i just need the ones to be sorted..Ü
im sorry for the disturbance..and for the not-so-clear problem i gave you..
http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
Not to mention
http://www.daniweb.com/forums/announcement118-3.html
> i just need it so badly..in just a few hours i need it for a class..but my logic aren't working in the last few weeks..
So have you learnt anything about managing your time better, and seeking help in a more timely fashion?
Not to mention
http://www.daniweb.com/forums/announcement118-3.html
> i just need it so badly..in just a few hours i need it for a class..but my logic aren't working in the last few weeks..
So have you learnt anything about managing your time better, and seeking help in a more timely fashion?
![]() |
Similar Threads
- I need help covert my source code frm pic16c54a to pic16f84a (Assembly)
- Having problem with 2 domain names....pls help (Linux Servers and Apache)
- can someone pls answer this...? thanks (Computer Science)
- Pls can some one check my log asap?! (Viruses, Spyware and other Nasties)
- pls help! programs don't work, scandisk error (Windows 95 / 98 / Me)
- need help please (ASAP)!!!!!!!!!!!! win xp (unknown hard error) (Windows NT / 2000 / XP)
Other Threads in the C Forum
- Previous Thread: How to measure C execution time
- Next Thread: Employee Information System.Problem adding a new department in "dept.txt" file
| Thread Tools | Search this Thread |
Tag cloud for C
* api append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createcopyoffile createprocess() csyntax database directory drawing dynamic executable execv feet fgets file floatingpointvalidation fork frequency function getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list looping lowest matrix meter microsoft mqqueue oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked reversing scheduling segmentationfault send single socketprogramming spoonfeeding standard strchr string student suggestions system test testautomation testing unix urboc user whythiscodecausesegmentationfault win32api windowsapi






