Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board
Go4Expert
Go4Expert RSS Feed

Go Back   Programming and SEO Forum >  Go4Expert > Articles / Source Code > Programming > C-C++

View Poll Results: DID U LIKE IT ?
YA,VERY VERY GOOD 7 43.75%
SEEMS GOOD 6 37.50%
NOT AT ALL. 2 12.50%
VERY BAD. 1 6.25%
Voters: 16. You may not vote on this poll

Discuss / Comment  Copy HTML to Clipboard  Copy BBCode to Clipboard  | More
 
Bookmarks Article Tools Search this Article Display Modes

Friendship Calculator With Poll


On 12th August, 2006
Friendship Calculator With Poll

Show Printable Version Email this Page Subscription Add to Favorites Copy Friendship Calculator With Poll link

Author

TEJUS ( Go4Expert Member )

Yet to provide details about himself


All articles By TEJUS

Recent Articles

Similar Articles

====================
.FRIENDSHIP CALCULATOR.
====================
Code: C
#include<stdio.h>
#include<string.h>
#include<conio.h>
main()
{
    clrscr();
    char name[20],n[20];
    char *pointer;
    int a,b;
    printf("\n NAME: ");
    gets(name);
    printf("\n FRIEND's NAME: ");
    gets(n);
    b=0;
    for(a=1;n[a]!='\0';a++)
    {
        pointer=strchr(name,n[a]);
        if(pointer)
        {
            b=b+1;
        }
    }
    b=b*25;
    if(b>=100)
    {
        printf("\n %s AND %s ARE 100% TRUE FRIEND'S."name,n);
    }
    else
    {
        printf("\n %s AND %s ARE %d% TRUE FRIEND'S."name,n,b);
    }
    getch();
    return 0;
}
Attached Files
File Type: zip WEB ATTACH.zip (2.4 KB, 46 views)
Old 03-06-2008, 12:34 PM   #2
Ambitious contributor
 
Join Date: Feb 2008
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
rahul.mca2001 is on a distinguished road

Re: Friendship Calculator With Poll


nice yaar
rahul.mca2001 is offline   Reply With Quote
Old 03-06-2008, 12:39 PM   #3
Pro contributor
 
Join Date: Jan 2008
Location: Bangalore
Posts: 355
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asadullah.ansari will become famous soon enoughasadullah.ansari will become famous soon enough

Re: Friendship Calculator With Poll


Good things ...Just Keep it and post more articles Tejus.
__________________
Asadullah Ansari
(Trueth Can'nt Be Changed that is Only One In The World "Death" )
asadullah.ansari is offline   Reply With Quote
Old 06-09-2009, 11:36 AM   #4
Newbie Member
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rikk_awal is on a distinguished road

Re: Friendship Calculator With Poll


its cool yaar
rikk_awal is offline   Reply With Quote
Discuss / Comment  Copy HTML to Clipboard  Copy BBCode to Clipboard  | More


Currently Active Users Reading This Article: 1 (0 members and 1 guests)
 
Article Tools Search this Article
Search this Article:

Advanced Search
Display Modes
Bookmarks

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 Off
Pingbacks are Off
Refbacks are Off

 

All times are GMT +5.5. The time now is 04:31 AM.