Question: CSI 1 3 0 Introduction to Computing LAB 2 : Introduction to a Programming Environment Objectives: a ) Know the purpose of an IDE, compiler,

CSI 130 Introduction to Computing
LAB 2: Introduction to a Programming Environment
Objectives:
a) Know the purpose of an IDE, compiler, and language.
b) Understand the components of an IDE.
c) Become proficient in creating, editing and executing programs in the IDE
d) Use the five steps to solve a problem and code a solution in C++.
1. Assignment: Write separate programs to do each of the following. Save each program in a separate file. Turn in separate flowchart and the C++ code for each problem.
a) Write a program that writes to the monitor your name, major and birthday all on one line and then skip two lines and repeat the information on separate lines.
b) Write a program that reads from the keyboard three integer values and then writes the three values to the monitor on separate lines.
c) Write a program that prompts the user for number of yes votes, number of no votes, and the number Not voting votes. Allow the user to enter each value from the keyboard. Then print to the screen the information.
Example: How many yes, no and not voted? 461
Yes: 4
No: 6
Not: 1
d) Write a program that prompts the user for their initials (first, middle and last), age (integer value) and GPA (floating point value). The program will then print out their initials in reverse order, followed by their age followed by the GPA. Each informational item is to be on a separate line.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!