{"id":107226,"date":"2022-11-23T04:10:11","date_gmt":"2022-11-23T04:10:11","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/objective-create-a-c-console\/"},"modified":"2022-11-23T04:10:11","modified_gmt":"2022-11-23T04:10:11","slug":"objective-create-a-c-console","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/objective-create-a-c-console\/","title":{"rendered":"Objective: create a c++ console"},"content":{"rendered":"<div>\n<p>\u00a0Objective: Create a C++ console application that can analyze numeric data contained in an single-dimension array of type integer. <br \/>\u00a0<\/p>\n<p>Steps: <br \/>\u00a0<\/p>\n<p>Create a new Visual Studio project and source code file. <br \/>Copy and paste the code below into a source code file. <br \/>Add the following functions to your program: <br \/>Sum \u2013 return a sum of all of the data in the array <br \/>CountNmbrsBigger \u2013 return a count of the number of data elements in the array that are larger than a given integer <br \/>Average \u2013 returns an average of the data in an array <br \/>High \u2013 returns the highest value in the array <br \/>Low \u2013returns the lowest value in the array <br \/>Find(number) \u2013 returns the first index of the location of the number in the array <br \/>Test your class by creating a main function and an array with 10 numbers, invoking each function and displaying the results to the screen. <br \/>Use the following prototype definition in the creation of your functions: <\/p>\n<p>\u00a0<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Objective: Create a C++ console application that can analyze numeric data contained in an single-dimension array of type integer. \u00a0 Steps: \u00a0 Create a new Visual Studio project and source code file. Copy and paste the code below into a source code file. Add the following functions to your program: Sum \u2013 return a sum [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-107226","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/107226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=107226"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/107226\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=107226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=107226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=107226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}