{"id":53,"date":"2016-08-14T07:47:45","date_gmt":"2016-08-14T07:47:45","guid":{"rendered":"http:\/\/localhost\/thecoder\/blog\/?p=53"},"modified":"2019-09-04T07:17:38","modified_gmt":"2019-09-04T01:32:38","slug":"write-a-program-to-check-the-greatest-number-in-c-programming","status":"publish","type":"post","link":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/","title":{"rendered":"Write a Program to check the greatest number in C Programming"},"content":{"rendered":"<p>Hello, all<\/p>\n<p>Here i have shared you the way to find the greatest number among two numbers.<\/p>\n<p>so here is the code<\/p>\n<pre class=\"lang:c decode:true \">#include&lt;stdio.h&gt;\r\nvoid main(){\r\nint a,b;\r\nprintf(\"Enter Two Numbers\");\r\nscanf(\"%d%d\",&amp;a,&amp;b);\r\nif(a&gt;b){\r\n    printf(\"%d is grater than %d\",a,b);\r\n}else{\r\n printf(\"%d is grater than %d\",b,a);\r\n}\r\n\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>if you are happy with this post feel free to comment and share!<\/p>\n<p>Thanks : CoderPradip<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, all Here i have shared you the way to find the greatest number among two numbers. so here is the code #include&lt;stdio.h&gt; void main(){ int a,b; printf(&#8220;Enter Two Numbers&#8221;); scanf(&#8220;%d%d&#8221;,&amp;a,&amp;b); if(a&gt;b){ printf(&#8220;%d is grater than %d&#8221;,a,b); }else{ printf(&#8220;%d is grater than %d&#8221;,b,a); } } &nbsp; if you are happy with this post feel free <a class=\"read-more\" href=\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-c-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Write a Program to check the greatest number in C Programming - Pradip Adhikari<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Write a Program to check the greatest number in C Programming - Pradip Adhikari\" \/>\n<meta property=\"og:description\" content=\"Hello, all Here i have shared you the way to find the greatest number among two numbers. so here is the code if you are happy with this post feel free to comment and share! Thanks : CoderPradip Happy Reading Please help me by Subscribing, Liking and Following me Subscribe Follow @coderpradipLeave a Comment Comments\" \/>\n<meta property=\"og:url\" content=\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"Pradip Adhikari\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/notpradip\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/notpradip\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-14T07:47:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-04T01:32:38+00:00\" \/>\n<meta name=\"author\" content=\"Pradip Adhikari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/notpradip\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pradip Adhikari\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\"},\"author\":{\"name\":\"Pradip Adhikari\",\"@id\":\"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7\"},\"headline\":\"Write a Program to check the greatest number in C Programming\",\"datePublished\":\"2016-08-14T07:47:45+00:00\",\"dateModified\":\"2019-09-04T01:32:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\"},\"wordCount\":49,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7\"},\"articleSection\":[\"C Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\",\"url\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\",\"name\":\"Write a Program to check the greatest number in C Programming - Pradip Adhikari\",\"isPartOf\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/#website\"},\"datePublished\":\"2016-08-14T07:47:45+00:00\",\"dateModified\":\"2019-09-04T01:32:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/coderpradip.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Programming\",\"item\":\"https:\/\/coderpradip.com\/blog\/category\/programming\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"C Programming\",\"item\":\"https:\/\/coderpradip.com\/blog\/category\/programming\/c-programming\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Write a Program to check the greatest number in C Programming\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/coderpradip.com\/blog\/#website\",\"url\":\"https:\/\/coderpradip.com\/blog\/\",\"name\":\"Pradip Adhikari\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/coderpradip.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7\",\"name\":\"Pradip Adhikari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/coderpradip.com\/blog\/wp-content\/uploads\/2023\/01\/Pradip-Adhikari.png\",\"contentUrl\":\"https:\/\/coderpradip.com\/blog\/wp-content\/uploads\/2023\/01\/Pradip-Adhikari.png\",\"width\":954,\"height\":1069,\"caption\":\"Pradip Adhikari\"},\"logo\":{\"@id\":\"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Tech Geek and Author\",\"sameAs\":[\"http:\/\/coderpradip.com\/\",\"https:\/\/facebook.com\/notpradip\/\",\"https:\/\/instagram.com\/notpradip\/\",\"https:\/\/linkedin.com\/in\/notpradip\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/notpradip\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Write a Program to check the greatest number in C Programming - Pradip Adhikari","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/","og_locale":"en_US","og_type":"article","og_title":"Write a Program to check the greatest number in C Programming - Pradip Adhikari","og_description":"Hello, all Here i have shared you the way to find the greatest number among two numbers. so here is the code if you are happy with this post feel free to comment and share! Thanks : CoderPradip Happy Reading Please help me by Subscribing, Liking and Following me Subscribe Follow @coderpradipLeave a Comment Comments","og_url":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/","og_site_name":"Pradip Adhikari","article_publisher":"https:\/\/facebook.com\/notpradip\/","article_author":"https:\/\/facebook.com\/notpradip\/","article_published_time":"2016-08-14T07:47:45+00:00","article_modified_time":"2019-09-04T01:32:38+00:00","author":"Pradip Adhikari","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/notpradip\/","twitter_misc":{"Written by":"Pradip Adhikari"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#article","isPartOf":{"@id":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/"},"author":{"name":"Pradip Adhikari","@id":"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7"},"headline":"Write a Program to check the greatest number in C Programming","datePublished":"2016-08-14T07:47:45+00:00","dateModified":"2019-09-04T01:32:38+00:00","mainEntityOfPage":{"@id":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/"},"wordCount":49,"commentCount":0,"publisher":{"@id":"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7"},"articleSection":["C Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/","url":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/","name":"Write a Program to check the greatest number in C Programming - Pradip Adhikari","isPartOf":{"@id":"https:\/\/coderpradip.com\/blog\/#website"},"datePublished":"2016-08-14T07:47:45+00:00","dateModified":"2019-09-04T01:32:38+00:00","breadcrumb":{"@id":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/coderpradip.com\/blog\/write-a-program-to-check-the-greatest-number-in-c-programming\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/coderpradip.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Programming","item":"https:\/\/coderpradip.com\/blog\/category\/programming\/"},{"@type":"ListItem","position":3,"name":"C Programming","item":"https:\/\/coderpradip.com\/blog\/category\/programming\/c-programming\/"},{"@type":"ListItem","position":4,"name":"Write a Program to check the greatest number in C Programming"}]},{"@type":"WebSite","@id":"https:\/\/coderpradip.com\/blog\/#website","url":"https:\/\/coderpradip.com\/blog\/","name":"Pradip Adhikari","description":"Blog","publisher":{"@id":"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/coderpradip.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/f7a455883d474da73ee7730e4cc8a5d7","name":"Pradip Adhikari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/coderpradip.com\/blog\/wp-content\/uploads\/2023\/01\/Pradip-Adhikari.png","contentUrl":"https:\/\/coderpradip.com\/blog\/wp-content\/uploads\/2023\/01\/Pradip-Adhikari.png","width":954,"height":1069,"caption":"Pradip Adhikari"},"logo":{"@id":"https:\/\/coderpradip.com\/blog\/#\/schema\/person\/image\/"},"description":"Tech Geek and Author","sameAs":["http:\/\/coderpradip.com\/","https:\/\/facebook.com\/notpradip\/","https:\/\/instagram.com\/notpradip\/","https:\/\/linkedin.com\/in\/notpradip\/","https:\/\/x.com\/https:\/\/twitter.com\/notpradip\/"]}]}},"_links":{"self":[{"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coderpradip.com\/blog\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}