Question: create a C++ project and complete the following tasks (in a single project). make sure to separate each task by a comment of dashes (-------------)
create a C++ project and complete the following tasks (in a single project). make sure to separate each task by a comment of dashes ("-------------")
1- create 3 variables (integer, double, character) and ask the user to enter values for each variable and show those variables after completing the input operations
2- print on the screen 5 C++ keywords
3- create 2 integer variables and show the results of the following operations (+, -, *, /, %)
4- show the finale evaluation of the following expression (5!=10||'a'==('b'-1))
5- using a for loop, while loop, and do-while loop, print the following message 3 times " Talk is cheap. Show me the code "
6- create an array with 10 elements and initialize it to the following values 1,2,3,1,2,5,1,7,3,1. By using an if statement and loop, find out how many times element 1 exist in the array.
7- create a method that will complete the same task of point 6.
run your program and make sure there is no errors. submit your code and the output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
