| | |
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
adobe ansi api array arrays bash binarysearch centimeter char convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic fflush file fork frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hardware highest homework i/o ide inches infiniteloop initialization interest kilometer km lazy linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling segmentationfault send shape single socketprograming socketprogramming spoonfeeding stack standard strchr string strings structures suggestions system systemcall test testautomation unix user voidmain() wab win32api windows.h






