Question: It needs to be C++ and very beginner level please. Explaining the process would be very welcomed.. The purpose of this assignment is to practice

It needs to be C++ and very beginner level please. Explaining the process would be very welcomed..

It needs to be C++ and very beginner level please. Explaining the

process would be very welcomed.. The purpose of this assignment is to

The purpose of this assignment is to practice programming conditional If statements. You are to write a program that outputs fortunes depending on the input values the user enters. The setup The pseudocode of the program is as follows: 1. Ask the user to input both a favorite number and a number disliked. a. Validate the input b. Will you accept the values if they are the same? You get to decide what to do. Make sure you document it in your code, though. 2. Determine the 'lucky' number by multiplying the 2 numbers and taking the 10 's modulus of the result. (In computing, the modulo operation finds the remainder after division of one number by another (sometimes called modulus)). 3. Based on the lucky number, a. If it is less than 0 display: "Try to be less negative" b. If it is between 0 to 4 inclusive, display : "Think Bigger" c. If it is between 5 and 9 exclusive, display: "Today you should embrace technology" d. If it is 9 or greater, display: "This is your lucky day" 4. Be sure to comment!!!!!! Your changes: Change your code to do the following: 1. Change the formula to determine the lucky number. (Remember to document your new formula) 2. Change the program so that the basis of the fortune is different. (basically, change the \#3 list of things to talk about). While doing that change the output. For example, "Think Bigger" is nice, but change the output to something more interesting. 3. Add a 'farewell' message at the end of the program

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!