{"id":6005,"date":"2020-11-14T13:21:21","date_gmt":"2020-11-14T13:21:21","guid":{"rendered":"http:\/\/onlineclassesguru.com\/?p=6005"},"modified":"2020-11-14T13:21:21","modified_gmt":"2020-11-14T13:21:21","slug":"c-modular-program","status":"publish","type":"post","link":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/","title":{"rendered":"C++ modular program"},"content":{"rendered":"<style type=\"text\/css\"><\/style><p>Read and follow the directions below carefully and perform the steps in the order listed. You will be solving one program as instructed and turning in your work electronically via an uploaded file within Eagle Online. Make sure and check your work prior to uploading the assignment (Print this instruction sheet if needed).<\/p>\n<p>Instructions<\/p>\n<p>1. Using Visual Studio, or Xcode, create a new empty project in your working drive. Name the Project: 07LastFirst<\/p>\n<p>(NOTE: where LastFirst is your actual Lastname and Firstname. For Example, if your name is Mary Smith then your<\/p>\n<p>empty project folder will be named 07SmithMary)<\/p>\n<p>2. Keep the default filename for the source file: source.cpp in Visual Studio, or main.cpp in Xcode<\/p>\n<p>(NOTE: If your filenames are incorrect, don\u0092t try to rename them. Either start over or leave them as is )<\/p>\n<p>3. You will develop a C++ modular program for the problem described below:<\/p>\n<p>Write a modular program that lets a student enter 7 quiz scores into an array of integers. The<\/p>\n<p>program should then keep count of the number of quizzes the student failed (NOTE: passing<\/p>\n<p>grade is 60 and above) and print appropriate messages as follows:<\/p>\n<p>\/\/ Example Display of TEST RUN 1:<\/p>\n<p>\/\/ TEST RUN 2 Display:<\/p>\n<p>4. The first thing you should enter in your .cpp file is a comment block which includes the following:<\/p>\n<p>\/* Name: Enter your full name here Lab: Chapter 7 \u2013 Arrays Description: This needs to be at least a paragraph explanation of the program (in<\/p>\n<p>your own words)<\/p>\n<p>*\/<\/p>\n<p>Step 5a.<\/p>\n<p>Step 5c.<\/p>\n<p>quiz scores to input for TEST RUN 1<\/p>\n<p>quiz scores to input for TEST RUN 2<\/p>\n<p>Page 2 of 3<\/p>\n<p>5. Below the comment block, type the actual C++ code for the problem described in step 3 above. Below are some functions to include in your program (HINT: Snapshot below displays the sample C++ code with function prototypes and function calls that you can use to define the below functions):<\/p>\n<p>a. getQuizScores()<\/p>\n<p>This should be a void function that accepts one quizArray argument, which asks the student to enter 7 quiz<\/p>\n<p>scores, and stores it in the quizArray (HINT: use appropriate prompt for entering quiz scores as shown in Step 5a.<\/p>\n<p>in the above snapshot)<\/p>\n<p>b. returnFailCount()<\/p>\n<p>This should be a value returning function that accepts one quizArray argument, which determines and returns<\/p>\n<p>the count of failed quiz score(s) in the quizArray.<\/p>\n<p>c. displayMessage()<\/p>\n<p>This should be a void function that accepts one failCount argument, which displays appropriate messages (HINT:<\/p>\n<p>use appropriate messages for failed\/passed quiz scores as shown in Step 5c. in the above snapshot)<\/p>\n<p>Make sure to use the following in your program:<\/p>\n<p>? Include appropriate preprocessor directives<\/p>\n<p>? Define appropriate variables and CONSTANTS<\/p>\n<p>? Within a comment block have a description prior to each function describing in your own words the purpose of that function<\/p>\n<p>? Have proper indentation and line spacing for readability of your program<\/p>\n<p>? Have enough documentation for understandability of your program<\/p>\n<p>? Make sure to test your program at least twice with input values ash shown in the<\/p>\n<p>\u2026<\/p>\n<p>Define getQuizScore(), returnFailCount(), &amp; displayMessage() functions here\u2026<\/p>\n<p>Page 3 of 3<\/p>\n<p>6. After completing your C++ program as instructed in Step 3 above, make sure to build\/compile and run your program. Your output should look similar to snapshots shown in Step 3 above.<\/p>\n<p>7. BONUS (5 points):<\/p>\n<p>After you get the above working, for bonus points you can find the average of the 7 quiz scores and display as shown in the example display below:<\/p>\n<p>8. You may now proceed to upload the source.cpp or main.cpp with the C++ code created in step 2 above.<\/p>\n<p>You may now proceed to the link within this Module to UPLOAD the assignment and then further complete the Quiz and Discussion.<\/p>\n<p><center><a href=\"http:\/\/onlineclassesguru.com\/orders\/ordernow\"><img decoding=\"async\" src=\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcTyj99p60XCLyLk1htB7-1neRt8-2QdnenNlQ&usqp=CAU\"target=\"_http:\/\/onlineclassesguru.com\/orders\/ordernow\"\/><\/center><p>","protected":false},"excerpt":{"rendered":"<p>Read and follow the directions below carefully and perform the steps in the order listed. You will be solving one program as instructed and turning in your work electronically via an uploaded file within Eagle Online. Make sure and check your work prior to uploading the assignment (Print this instruction sheet if needed). Instructions 1&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6005","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C++ modular program - onlineclassesguru<\/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:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C++ modular program - onlineclassesguru\" \/>\n<meta property=\"og:description\" content=\"Read and follow the directions below carefully and perform the steps in the order listed. You will be solving one program as instructed and turning in your work electronically via an uploaded file within Eagle Online. Make sure and check your work prior to uploading the assignment (Print this instruction sheet if needed). Instructions 1....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/\" \/>\n<meta property=\"og:site_name\" content=\"onlineclassesguru\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-14T13:21:21+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineclassesguru.com\/#website\",\"url\":\"https:\/\/onlineclassesguru.com\/\",\"name\":\"onlineclassesguru\",\"description\":\"Cheap Professional coursework and reaction papers help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineclassesguru.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/#webpage\",\"url\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/\",\"name\":\"C++ modular program - onlineclassesguru\",\"isPartOf\":{\"@id\":\"https:\/\/onlineclassesguru.com\/#website\"},\"datePublished\":\"2020-11-14T13:21:21+00:00\",\"dateModified\":\"2020-11-14T13:21:21+00:00\",\"author\":{\"@id\":\"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineclassesguru.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C++ modular program\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742\",\"name\":\"admin_admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/onlineclassesguru.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g\",\"caption\":\"admin_admin\"},\"url\":\"https:\/\/onlineclassesguru.com\/index.php\/author\/admin_admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C++ modular program - onlineclassesguru","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:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/","og_locale":"en_US","og_type":"article","og_title":"C++ modular program - onlineclassesguru","og_description":"Read and follow the directions below carefully and perform the steps in the order listed. You will be solving one program as instructed and turning in your work electronically via an uploaded file within Eagle Online. Make sure and check your work prior to uploading the assignment (Print this instruction sheet if needed). Instructions 1....","og_url":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/","og_site_name":"onlineclassesguru","article_published_time":"2020-11-14T13:21:21+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin_admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/onlineclassesguru.com\/#website","url":"https:\/\/onlineclassesguru.com\/","name":"onlineclassesguru","description":"Cheap Professional coursework and reaction papers help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineclassesguru.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/#webpage","url":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/","name":"C++ modular program - onlineclassesguru","isPartOf":{"@id":"https:\/\/onlineclassesguru.com\/#website"},"datePublished":"2020-11-14T13:21:21+00:00","dateModified":"2020-11-14T13:21:21+00:00","author":{"@id":"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742"},"breadcrumb":{"@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/c-modular-program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineclassesguru.com\/"},{"@type":"ListItem","position":2,"name":"C++ modular program"}]},{"@type":"Person","@id":"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742","name":"admin_admin","image":{"@type":"ImageObject","@id":"https:\/\/onlineclassesguru.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g","caption":"admin_admin"},"url":"https:\/\/onlineclassesguru.com\/index.php\/author\/admin_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/6005"}],"collection":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/comments?post=6005"}],"version-history":[{"count":1,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/6005\/revisions"}],"predecessor-version":[{"id":6006,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/6005\/revisions\/6006"}],"wp:attachment":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=6005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/categories?post=6005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/tags?post=6005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}