{"id":1,"date":"2022-08-07T15:44:37","date_gmt":"2022-08-07T15:44:37","guid":{"rendered":"https:\/\/aipsacademy.com\/blogs\/?p=1"},"modified":"2022-08-29T14:37:22","modified_gmt":"2022-08-29T14:37:22","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/aipsacademy.com\/blogs\/2022\/08\/07\/hello-world\/","title":{"rendered":"12th Computer Science Important Program"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong>W<\/strong>rite a program to check input number is prime or not<\/h4>\n\n\n\n<pre class=\"wp-block-code language-cpp line-numbers\"><code>#include&lt;iostream.h>\r\n#include&lt;conio.h>\r\nvoid main()\r\n\r\n{\r\nclrscr();\r\nint n,i,j=0;\r\ncout&lt;&lt;\"Enter any number=\";\r\ncin>>n;\r\nfor(i=2;i&lt;n;i++)\r\n{\r\nif(n%i==0)\r\n{\r\nj=1;\r\nbreak;\r\n}\r\n}\r\nif(j==1)\r\ncout&lt;&lt;\"Number is not prime\";\r\nelse\r\ncout&lt;&lt;\"Number is prime\";\r\ngetch();\r\n}<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong><\/p>\n\n\n\n<p>Enter any number=5<br>Number is prime<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/aipsacademy.com\/blogs\/wp-content\/uploads\/2022\/08\/12th-mock-test22-tak-converted.pdf\" type=\"application\/pdf\" style=\"width:100%;height:1190px\" aria-label=\"Embed of Embed of 12th mock test22 tak-converted..\"><\/object><a id=\"wp-block-file--media-d94f86d9-6825-4d9d-8a58-a0a0fc1438da\" href=\"https:\/\/aipsacademy.com\/blogs\/wp-content\/uploads\/2022\/08\/12th-mock-test22-tak-converted.pdf\">12th mock test22 tak-converted<\/a><a href=\"https:\/\/aipsacademy.com\/blogs\/wp-content\/uploads\/2022\/08\/12th-mock-test22-tak-converted.pdf\" class=\"wp-block-file__button\" download aria-describedby=\"wp-block-file--media-d94f86d9-6825-4d9d-8a58-a0a0fc1438da\">Download<\/a><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Write a program to check input number is prime or not Output Enter any number=5Number is prime<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,9,8],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-12th-computer-science","category-cbse-12th-computer-science","category-jac-12th-computer-science"],"_links":{"self":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":6,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":205,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/1\/revisions\/205"}],"wp:attachment":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}