Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

List of C Programs Needed

This is a discussion on List of C Programs Needed within the C and C++ forums, part of the Software Development category; Hi, I need to write a C program for the list of questions attached. Since i dont have much knowlege on C, i request anyone's help in this. Thanks in ...

Go Back   Geeks Talk > Software Development > C and C++
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-25-2009
Junior Member
 
Join Date: May 2008
Location: chennai
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
shv_shanmu24 is on a distinguished road
List of C Programs Needed

Hi,

I need to write a C program for the list of questions attached. Since i dont have much knowlege on C, i request anyone's help in this.

Thanks in advance!

Regards,
Siva.N
Attached Files
File Type: doc C Questions for Programs.doc (44.0 KB, 104 views)
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-25-2009
Expert Member
 
Join Date: Jan 2008
Location: Somewhere in the World..
Posts: 119
Thanks: 2
Thanked 6 Times in 6 Posts
jana05 is on a distinguished road
Re: List of C Programs Needed

The best way is to start out solving by yourself and then start posting the solutions here so that people will join.
Reply With Quote
  #3 (permalink)  
Old 03-26-2009
Junior Member
 
Join Date: Sep 2008
Location: Gujarat (INDIA)
Posts: 11
Thanks: 0
Thanked 2 Times in 1 Post
kunalnandi is on a distinguished road
Re: List of C Programs Needed

u want us to do ur home work ???
Reply With Quote
  #4 (permalink)  
Old 04-01-2009
Junior Member
 
Join Date: May 2008
Location: chennai
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
shv_shanmu24 is on a distinguished road
Re: List of C Programs Needed

hello,
You have mistaken me.

Actually, these are the questions i came across when i went through a book related
to mathematics formulas solved using c languagae.

When i read those questions, i got confused and post that as a thread.

Probably, my words may confused you. But anyway, now i solved some.

Thanks.
Reply With Quote
  #5 (permalink)  
Old 04-02-2009
Expert Member
 
Join Date: Jan 2008
Location: Somewhere in the World..
Posts: 119
Thanks: 2
Thanked 6 Times in 6 Posts
jana05 is on a distinguished road
Re: List of C Programs Needed

Good that you were able to solve the questions. Now you must be having much more knowledge of C, as it should have definitely improved.

Regarding somebody misunderstanding you, it all starts how the words are phrased and what meaning they suggest to the reader.
Reply With Quote
  #6 (permalink)  
Old 09-25-2009
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
srivastavarupal is on a distinguished road
Re: List of C Programs Needed

hi...
can any one help me out with the following program
LCM and HCF on 'n' numbers( without using array)?
if possible please mail me at srivastavarupal@gmail.com

Thanks
waiting for the answer.

Last edited by srivastavarupal; 09-25-2009 at 09:46 AM. Reason: email id
Reply With Quote
  #7 (permalink)  
Old 3 Weeks Ago
Banned
 
Join Date: Oct 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
rjroking is on a distinguished road
Re: List of C Programs Needed

hey frnd please also post the answers yaar...m very curious to k9 the answers......
Reply With Quote
  #8 (permalink)  
Old 3 Weeks Ago
Junior Member
 
Join Date: Mar 2009
Location: COIMBATORE
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
sumitsolution is on a distinguished road
Re: List of C Programs Needed

you can find gcd and lcm using
gcd*lcm=product of numbers
i found gcd using euclid algorithm and than find lcm
********************************
#include<stdio.h>
#include<conio.h>
int main(){
int n,m,lcm,gcd,r;
clrscr();
printf("Enter the two number in decresing order\n");
printf("enter first no:\n");
scanf("%d",&m);
printf("enter the second no :\n");
scanf("%d",&n);
a=m;
b=n;
while(n>0){
r=m%n;
m=n;
n=r;
}
gcd=m;

printf("GCD :=%d\n",gcd);
lcm=(a*b)/gcd;
printf("LCM :=%d",lcm);
getch();
return 0;
}
******************************************

Last edited by sumitsolution; 3 Weeks Ago at 07:59 AM.
Reply With Quote
  #9 (permalink)  
Old 2 Weeks Ago
Banned
 
Join Date: Oct 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
rjroking is on a distinguished road
Re: List of C Programs Needed

can u provide me more of the c programs ...please
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Help needed recording a drop down list and inputting data. 172v6 QTP 1 07-28-2008 08:11 AM
Overloading Sub Programs. babi_geek Oracle 2 06-09-2008 06:17 AM
Execute two detail list from a basic list at same time Geek_Guest SAP R/3 0 06-26-2007 07:34 AM
JDK 1.4 programs on JDK6 JobHelper Java 1 12-15-2006 05:58 AM
Graphics Programs Remasri Windows 1 09-13-2006 02:14 PM


All times are GMT -4. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved