Question: Hey I need a simple code to run like the picture. It has to be in C++. The numbers on the side are my inputs.

 Hey I need a simple code to run like the picture. Hey I need a simple code to run like the picture. It has to be in C++. The numbers on the side are my inputs. Note I'm using C++ programming

The reciprocal of y is 0.5 The reciprocal of z is 0.333333 y/z is 0 y modulus z is 2 ladams .18450mrn-ecsappd01 labl]$ basics .exe Enter a character: 4. Enter value for double value x: 4.5 Enter value for integer value y 9 Enter value for integer value z: 8 Your character is 4 Your value for x is -4.5 T Your value for y is 9 Your value for Z is 8 The reciprocal of x is -0.222222 x/z is -0.5625 x y z is 12.5 The reciprocal of y is 0.111111 The reciprocal of z is 0.125 y/z is 1 modulus z is 1

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!