{"id":99,"date":"2025-11-14T14:09:25","date_gmt":"2025-11-14T14:09:25","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/?p=99"},"modified":"2025-11-14T14:09:27","modified_gmt":"2025-11-14T14:09:27","slug":"identifying-largest-integer-beginner-project","status":"publish","type":"post","link":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/2025\/11\/14\/identifying-largest-integer-beginner-project\/","title":{"rendered":"Identifying Largest Integer Beginner Project"},"content":{"rendered":"\n<p>\/*<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul>\n<li>Name: Carter Hendrick<\/li>\n\n\n\n<li>Course Name: IT_205_Object Oriented Programming w\/ Java<\/li>\n\n\n\n<li>Date: 09\/24\/2025<\/li>\n\n\n\n<li>Pledge: This program is entirely written by me (Carter Hendrick) without help from anyone<br><em>\/ package it205_mod1assignmentpt1; import java.util.<\/em>;<br>\/**<br>*<\/li>\n\n\n\n<li>@author hendr<br>*\/<br>public class IT205_Mod1AssignmentPt1 { \/**<ul><li>@param args the command line arguments<br>*\/<br>public static void main(String[] args) {<br>\/\/ TODO code application logic here<br>Scanner input = new Scanner(System.in); \/\/create scanner<\/li><\/ul>int num1; \/\/Variables for each integer<br>int num2;<br>int num3;<br>int num4;<br>int num5; System.out.println(&#8220;Please enter five integers: &#8220;); \/\/prompt for integers<br>num1 = input.nextInt(); \/\/Store value for first integer<br>num2 = input.nextInt(); \/\/Store value for Second integer<br>num3 = input.nextInt(); \/\/Store value for third integer<br>num4 = input.nextInt(); \/\/Store value for fourth integer<br>num5 = input.nextInt(); \/\/Store value for fifth integer int Large = num1; \/\/initializing the small and large variables<br>int Small = num1; if (Small &gt; num2 ) \/\/if statement for identifying the smallest integer<br>{<br>Small = num2;<br>}<br>if (Small &gt; num3) {<br>Small = num3;<br>}<br>if (Small &gt; num4) {<br>Small = num4;<br>}<br>if (Small &gt; num5) {<br>Small = num5;<br>} if (Large &lt; num2 ) \/\/if statement for identifying the Largest integer<br>{<br>Large = num2;<br>}<br>if (Large &lt; num3) {<br>Large = num3;<br>}<br>if (Large &lt; num4) {<br>Large = num4;<br>}<br>if (Large &lt; num5) {<br>Large = num5;<br>}<br>System.out.printf(&#8220;%s%s%s%s%s%s%s%s%s%n%s%n%s%n&#8221;,<br>&#8220;The set of numbers was: &#8221; + num1,&#8221; &#8220;,num2,&#8221; &#8220;,num3,&#8221; &#8220;,num4,&#8221; &#8220;,num5,<br>&#8220;The lowest number of the set is: &#8221; + Small,<br>&#8220;The largest number of the set is: &#8221; + Large);<br>}<br>}<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\/*<\/p>\n","protected":false},"author":25850,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wds_primary_category":9},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/posts\/99"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/users\/25850"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":1,"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/posts\/99\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/carterhendrick-eportfolio\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}