Question: Problem #3 Build a program that performs the following operations: Declares three pointer variables called iPtr of type int, cPtr of type char, and fFloat

 Problem #3 Build a program that performs the following operations: DeclaresProblem #3

Build a program that performs the following operations: Declares three pointer variables called iPtr of type int, cPtr of type char, and fFloat of type float Declares three new variables called iNumber of int type, fNumber of float type, and cCharacter of char type Assigns the address of each nonpointer variable to the matching pointer variable Prints the value of each nonpointer variable Prints the value of each pointer variable Prints the address of each nonpointer variable Prints the address of each pointer variable Create a program that allows a user to select one of the following four menu options: Enter New Integer Value Print Pointer Address Print Integer Address Print Integer Value For this program, you need to create two variables: one integer data type and one pointer. Using indirection, assign any new integer value that the user enters through an appropriate pointer. Create a dice rolling game. The game should allow a user to toss up to six dice at a time. Each toss of a die will be stored in a six-element integer array. The array is created in the main() function but passed to a new function called TossDie (). The TossDie () function will take care of generating random numbers from one to six and assigning them to the appropriate array element number. Modify the Cryptogram program to use a different type of key system or algorithm Consider using a user-defined key or a different character set

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!