{"id":94398,"date":"2025-01-24T16:16:43","date_gmt":"2025-01-24T12:46:43","guid":{"rendered":"https:\/\/nabfollower.com\/blog\/%da%a9%d8%af-%d9%be%d8%a7%d9%86%d8%b2%d8%af%d9%87%d9%85-c-cerr-%d9%88-cout\/"},"modified":"2025-01-24T16:16:43","modified_gmt":"2025-01-24T12:46:43","slug":"%da%a9%d8%af-%d9%be%d8%a7%d9%86%d8%b2%d8%af%d9%87%d9%85-c-cerr-%d9%88-cout","status":"publish","type":"post","link":"https:\/\/nabfollower.com\/blog\/%da%a9%d8%af-%d9%be%d8%a7%d9%86%d8%b2%d8%af%d9%87%d9%85-c-cerr-%d9%88-cout\/","title":{"rendered":"\u06a9\u062f \u067e\u0627\u0646\u0632\u062f\u0647\u0645 C++ (cerr \u0648 cout)"},"content":{"rendered":"<div data-article-id=\"2238467\" id=\"article-body\">\n<div class=\"highlight js-code-highlight\">\n<pre class=\"highlight plaintext\"><code>    #include<iostream>\n    using namespace std; \n    int main()\n    {\n    cout&lt;&lt;\"\\n \\t \\t\\t Enter (a)  &gt; (b )\\n\\n \"; \nfloat a , b  ; \ncout&lt;&lt;\"\\n  \\t Enter  the first number a : \";\ncin&gt;&gt; a; \ncout&lt;&lt; \" \\n\\t Enter The second number b : \" ; \ncin&gt;&gt;b; \nif (a&gt;b)\n{\n cout&lt;&lt;\" \\n The largest number is a = \"&lt;<\/iostream><\/code><\/pre>\n<div class=\"highlight__panel js-actions-panel\">\n<div class=\"highlight__panel-action js-fullscreen-code-action\">\n    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-on\"><title>\u0648\u0627\u0631\u062f \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M16 3h6v6h-2V5h-4V3zM2 3h6v2H4v4H2V3zm18 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z\"\/>\n<\/svg><\/p>\n<p>    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" class=\"highlight-action crayons-icon highlight-action--fullscreen-off\"><title>\u0627\u0632 \u062d\u0627\u0644\u062a \u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f<\/title>\n    <path d=\"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z\"\/>\n<\/svg><\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>#include using namespace std; int main() { cout&lt;&lt;&#8220;\\n \\t \\t\\t Enter (a) &gt; (b )\\n\\n &#8220;; float a , b ; cout&lt;&lt;&#8220;\\n \\t Enter the first number a : &#8220;; cin&gt;&gt; a; cout&lt;&lt; &#8221; \\n\\t Enter The second number b : &#8221; ; cin&gt;&gt;b; if (a&gt;b) { cout&lt;&lt;&#8221; \\n The largest number is a = &hellip;<\/p>\n","protected":false},"author":2,"featured_media":94399,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/media2.dev.to\/dynamic\/image\/width=1000,height=500,fit=cover,gravity=auto,format=auto\/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3syjx2q7llajcltj82cd.png","fifu_image_alt":"","footnotes":""},"categories":[339],"tags":[],"class_list":["post-94398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev"],"_links":{"self":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts\/94398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/comments?post=94398"}],"version-history":[{"count":0,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/posts\/94398\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/media\/94399"}],"wp:attachment":[{"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/media?parent=94398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/categories?post=94398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nabfollower.com\/blog\/wp-json\/wp\/v2\/tags?post=94398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}