-->

simple c project on dog info

#include<stdio.h>

#include<conio.h>

#include<string.h>

void main()

{

clrscr();

int c;

printf("\t \t       \4\4Welcome to Beta Dog Wiki\4\4");

printf("\n\n\nHere you can look up all the information about a specific ");

printf("choice of breed of\ndogs from the choices given below\n\n\n");

er:

printf("Choose a breed from the following options:\n\n");

printf("1.Beagle\n");

printf("2.Bernese Mountain Dog\n");

printf("3.German Shepherd\n");

printf("4.Labrador Retriever\n");

printf("5.Pembroke Welsh Corgi\n");

printf("6.Pomeranian\n");

printf("7.Samoyed\n");

printf("8.Shiba Inu\n");

printf("9.Siberian Husky\n");

printf("10.Tibetan Mastiff\n");

scanf("%d",&c);

if(c==1)

{

clrscr();

printf("Your choice is,\n\n1.Beagle\4\n\nDescription:\n");

printf("Small, compact, and hardy, Beagles are active companions for ");

printf("kids and adults\nalike. Canines in this dog breed are merry");

printf("and fun loving, but being hounds, \nthey can also be stubborn");

printf("and require patient, creative training techniques. \nTheir");

printf(" noses guide them through life, and they are never happier than ");

printf("when \nfollowing an interesting scent. The Beagle originally ");

printf("was bred as a scenthound \nto track small game, mostly rabbits");

printf("and hare. He is still used for this purpose \nin many countries,");

printf("including the United States\n\n");

printf("Size:\n");

printf("The American Kennel Club recognizes two varieties of Beagle.");

printf("The 13-inch \nvariety is for hounds that don't exceed 13 inches");

printf("in height at the shoulder, and the 15-inch variety is for");

printf("hounds that stand 13 inches to 15 inches at the \nshoulder.");

printf("Depending on their height, Beagles weigh between 18 and 30 pounds.");

}

else if(c==2)

{

clrscr();

printf("Your choice is,\n\n2.Bernese Mountain Dog\4\n\nDescription:\n");

printf("The Bernese Mountain Dog is an extremely versatile");

printf("working dog from the \nfarmlands of Switzerland. He 2");

printf("was developed to herd cattle, pull carts, and be \na ");

printf("watchdog and loyal companion. He is one of four types");

printf("of Swiss Mountain Dogs,\nand the only one with long");

printf("hair. The Bernese Mountain Dog comes from the Canton ");

printf("\nof Bern, hence his name. He's a large and sturdy dog");

printf("breed, with a friendly and \ncalm disposition, and he's ");

printf("well suited to conformation, obedience, tracking,");

printf("\nherding, and carting competitions.\n\n");

printf("Size:\n");

printf("Males stand 25 to 27.5 inches tall and weigh 80 ");

printf("to 115 pounds. Females stand 23 to 26 inches tall");

printf("and weigh 70 to 95 pounds.");

}

else if(c==3)

{

clrscr();

printf("Your choice is,\n\n3.German Shepherd\4\n\nDescription:\n");

printf("The German Shepherd Dog is one of America's most ");

printf("popular dog breeds - for a \ngood reason. He's an ");

printf("intelligent and capable working dog. His devotion and ");

printf("\ncourage are unmatched. And he's amazingly versatile, ");

printf("excelling at most anything he's trained to do: guide ");

printf("and assistance work for the handicapped, police and ");

printf("\nmilitary service, herding, search and rescue, drug ");

printf("detection, competitive \nobedience and, last but not ");

printf("least, faithful companion.\n\n");

printf("Size:\n");

printf("Males stand 24 to 26 inches; females stand 22 to ");

printf("24 inches. Weight ranges from \n75 to 95 pounds.");

}

else if(c==4)

{

clrscr();

printf("Your choice is,\n\n4.Labrador Retriever\4\n\nDescription:\n");

printf("The Labrador Retriever was bred to be both a friendly ");

printf("companion and a useful \nworking dog breed. Historically, ");

printf("he earned his keep as a fisherman's helper: \nhauling nets, ");

printf("fetching ropes, and retrieving fish from the chilly ");

printf("North \nAtlantic. Today's Labrador Retriever is as ");

printf("good-natured and hard working as his ancestors, and ");

printf("he's America's most popular breed. These days the Lab ");

printf("works as a retriever for hunters, assistance dog ");

printf("to the handicapped, show competitor, and \nsearch and ");

printf("rescue dog, among other canine jobs.\n\n");

printf("Size:\n");

printf("Males stand 22.5 to 24.5 inches, and weigh 65 to 80 pounds. ");

printf("\nFemales stand 21.5 to 23.5 inches, and weigh 55 to 70 pounds.");

}

else if(c==5)

{

clrscr();

printf("Your choice is,\n\n5.Pembroke Welsh Corgi\4\n\nDescription:\n");

printf("Originally bred to herd cattle, sheep, and ");

printf("horses, the Pembroke Welsh Corgi is \nan active and ");

printf("intelligent dog breed. Easy to train and eager to ");

printf("learn, \nPembrokes are great with children and other ");

printf("pets, and you can find them in four different coat ");

printf("colors and markings.\n\n");

printf("Size:\n");

printf("Pembroke Welsh Corgis are between 10 and 12 inches ");

printf("tall at the shoulders, and \nweigh no more than 30 pounds.");

}

else if(c==6)

{

clrscr();

printf("Your choice is,\n\n6.Pomeranian\4\n\nDescription:\n");

printf("Descended from large sled dog breeds, the now-tiny ");

printf("Pomeranian has a long and \ninteresting history. The ");

printf("foxy-faced dog, nicknamed 'the little dog who thinks ");

printf("\nhe can', is compact, active, and capable of competing ");

printf("in agility and obedience \nor simply being a family friend.\n\n");

printf("Size:\n");

printf("Pomeranians are 7 to 12 inches tall and weigh 3 to 7 ");

printf("pounds. Some litters have \npuppies that are throwbacks ");

printf("to the days when they were larger and grow to be 12 to ");

printf("14 pounds or more. These puppies can be an excellent ");

printf("choice for families\nwith children.");

}

else if(c==7)

{

clrscr();

printf("Your choice is,\n\n7.Samoyed\4\n\nDescription:\n");

printf("Originally bred to hunt, haul sledges, and herd");

printf(" reindeer, the Samoyed dog breed proved a valuable ");

printf("companion for northwestern Siberia's Samoyede people. ");

printf("Among \nthe breed's duties: pack hiking, tracking, and");

printf(" warming their owners by sleeping on top of them at night. ");

printf("A working breed, the Samoyed can be strong-willed at \ntimes,");

printf(" but above all they remain friendly, gentle, and devoted");

printf(" family dogs.\n\n");

printf("Size:\n");

printf("Males stand 21 to 23.5 inches tall. Females stand 19");

printf(" to 21 inches tall. ");

printf("Males \nand females weigh 50 to 60 pounds.");

}

else if(c==8)

{

clrscr();

printf("Your choice is,\n\n8.Shiba Inu\4\n\nDescription:\n");

printf("The Shiba Inu dog breed was originally bred to flush birds");

printf(" and small game, and \nwas occasionally used to hunt wild boar.");

printf(" He is one of Japan's six native \nbreeds: Akita (large), Kishu,");

printf(" Hokkaido, Kai, Shikoku (medium), and \nShiba (small). ");

printf("He is known for his spirited personality, small upright ears,");

printf("\nand cat-like agility. Today he serves primarily as a ");

printf("companion dog in Japan and the United States.\n\n");

printf("Size:\n");

printf("Males stand 14.5 to 16.5 inches tall and weigh about 23 pounds. ");

printf("\nFemales stand 13.5 to 15.5 inches tall and weigh about 17 pounds.");

}

else if(c==9)

{

clrscr();

printf("Your choice is,\n\n9.Siberian Husky\4\n\nDescription:\n");                                                                                                          /*fav doggo*/

printf("The Siberian Husky is a beautiful dog breed with a thick");

printf(" coat that comes in a \nmultitude of colors and markings. Their");

printf(" blue or multi-colored eyes and striking facial masks only add");

printf(" to the appeal of this breed, which originated in Siberia. ");

printf("It is easy to see why many are drawn to the Siberian's wolf-like ");

printf("looks, but be \naware that this athletic, intelligent dog can be ");

printf("independent and challenging \nfor first-time dog owners. ");

printf("Huskies also put the 'H' in Houdini and need a \nfenced yard ");

printf("that is sunk in the ground to prevent escapes.\n\n");

printf("Size:\n");

printf("An average male stands between 21 and 23.5 inches high ");

printf("while the female \naverages 20 to 22 inches. The male weighs");

printf(" between 45 and 60 pounds and \nthe female 35 to 50 pounds.");

}

else if(c==10)                                                                                                                                                                      /*huge doggo O.O*/

{

clrscr();

printf("Your choice is,\n\n10.Tibetan Mastiff\4\n\nDescription:\n");

printf("This still prim1itive dog breed was developed centuries ago ");

printf("in Tibet. \nOriginally used as guard dogs for livestock and ");

printf("property, Tibetan Mastiffs can \nstill be found performing ");

printf("that role, but they also enjoy life as a family \ncompanion ");

printf("and show dog.\n\n");

printf("Size:\n");

printf("A male Tibetan Mastiff stands at least 26 inches tall at");

printf(" the shoulder and \nweighs in the vicinity of 100 to 160 or");

printf(" more pounds; females are at least \n24 inches tall at the");

printf(" shoulder and weigh 75 to 125 or more pounds.");

}

else

{

clrscr();

printf("-Error while choosing the options\nPlease Try Again...\n\n");

goto er;

}


getch();

}

-------------------------------
If you need this project with full documentation, contact me at
krishnaamallik@gmail.com

No comments:

Post a Comment