Skip to main content

simple c language program for find maximum from 3 number.(coding)




 #include<stdio.h>

void  main()
{
      int a,b,c;
      printf ("enter first number:");
      scanf("%d",&a);
      printf ("enter second number:");
      scanf("%d",&b);
      printf ("enter third number:");
      scanf("%d",&c);
   
       if(a>b)
       {
             if(a>c)
              { 
                printf ("%d is maximum                                                                             number",a); 
              }
             else
              {
                 printf ("%d is maximum                                                                             number",c); 
              }
        }
        else
        {
             if(b>c)
             { 
                printf ("%d is maximum                                                                             number",b);
              }
             else 
             {
              printf ("%d is maximum                                                                             number",c); 
             }
          }
}
      

Popular posts from this blog

TOP LAPTOP BRANDS IN THE WORLD

When going to purchase a laptop, individuals consider different specifications to suit their needs. Finding the desired laptop can seem a daunting task since there are numerous brands in the market. Due to technological advancement, many laptop manufacturers have emerged and if not careful, you may end up a victim of unscrupulous dealers. This article will highlight the top 10 best laptop brands of 2013. All brands are designed in different ways to take care of consumer need. Style, functionality, fashion and size are some of the factors that manufacturers consider when developing laptops. A potential laptop buyer needs to conduct thorough research prior to settling for any deal. Below is a compiled list of top laptop brands that can be helpful to any laptop buyer. 10 MSI Laptop Brand Sets the bar for all Haswell gaming laptops Micro-Star International is one of the best and least popular laptop brands. This company has been in existence since 1986 and is a renowned IT manu...

Top 10 Pen Brands In The World

Pens have long been considered symbols of class, power, and influence. In short, they represent the worth of someone, typically modern society conferring invisible titles and ranks on  people  who own or use luxurious high-quality pens. Lest we read too much into the phrase ‘the pen is mightier than the sword’, let us take a gander at our carefully selected list of the Top 10 pen brands in the world 1) Parker Since its founding in 1888, Parker has written its way into the homes, classrooms, and offices of millions of people. One of the first things that users attest to is the sheer confidence that using a Parker pen brings to their work or studies. The Parker Pen Company has been known to make different types of pens other than the prominent Parker 100 that came out in 2004. Other company creations include Jotters (U.S. President John F. Kennedy’s favorite), Sonnet, Vector, Classic, Arrow, etc. Parker is a name synonymous with excellence and the brand stands...

favourite dishes of Gujarat, everyone must eat one time.

Here some dishes which are famous in Gujarat and all over the world. 10. Handvo A savoury tea-cake that is crisp on the outside and soft on the inside. A healthy mix of bottle gourd (lauki) along with an aromatic mix of buttermilk, flour, coriander, chillies, lentils and rice. This is an easy and quick recipe made in just around 30 minutes, so you can serve this along with a chutney of your choice, to unexpected guests or even at dinner parties at home. 9. Dal Dhokli A Gujarati and Rajasthani dish, Dal Dhokli is a comfort food also known as varan phal or chakolya. While it is a popular in the Marwar region of Rajasthan, it is a staple in all of Gujarat. Spiced whole wheat dumplings simmered in a lively curry made with tuvar dal, garlic, peanuts, kokum and turmeric. dal dhokli Pair with chapati, paratha or rice for a whole meal. 8. Methi ka Thepla Popularly made in Gujarat, this fine and flavorful Indian bread with made from whole wheat flour kneaded with methi, chi...