Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ESET 220 - Microprocessor Systems Homework #1 - Basic CH Programming Assigned: January 21, 2020 Due: Sunday, January 26, 2020 by midnight. Background Reading Go

image text in transcribed

ESET 220 - Microprocessor Systems Homework #1 - Basic CH Programming Assigned: January 21, 2020 Due: Sunday, January 26, 2020 by midnight. Background Reading Go to the following website: www.cplusplus.com, and open the Tutorials tab. Under there open the CH+ Language tab. Read the first two sections Basics of C++ and Program Structure. I strongly recommend using Visual CH to work through some of the examples they give. In addition, be sure to review Lectures #1 and #2 on Bb for Basic CH programming. Once you have reviewed these sections, write the following two programs: Program #1 - Basic 10 Have the user input their age, favorite color, favorite sports team, and city of birth. Display this information back to them in 4 separate lines. If age is 50, print out "You're old!". Note that you will need to define some of the variables as strings, whereas the age will be an integer. Be sure to put annotation in the code using either the // or the / and Program 12 - Loop Structures a) Read 5 numbers from the user, utilizing a FOR loop structure b) Calculate the average of the 5 numbers. You should use a floating point variable for this C) Print out "Average", then the average d) Repeat this program using a WHILE loop instead of a FOR loop. e) Be sure to annotate your code-always! Submit all programs in a single Word document by simply cutting and pasting the C++ code from Visual Studio. These need to be uploaded directly to Bb. PW

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions

Question

4. How is culture a contested site?

Answered: 1 week ago