Question: ACTIONS First, your code should prompt the user (using input) for a number, then plug that number into the equation 12 +9-7 y= 2+ +

 ACTIONS First, your code should prompt the user (using input) for

ACTIONS First, your code should prompt the user (using input) for a number, then plug that number into the equation 12 +9-7 y= 2+ + 5 and then print the value of y for the user. The output should be rounded to 3 decimal places. See example below. . Second, your code should prompt the user (using input) to enter a string and then output (using print) a single sentence on one line that tells the user what percentage (rounded to 1 decimal place) of the characters in the string consists of the characters e or 4. The output should be in the format "Percentage of e's and 4's in the string : %". See example below. Third, your code should prompt the user (using input) for a number of bits. It should then output (using print) a single expression showing the equivalent number of gigabytes, megabytes, and kilobytes (rounded down to the nearest kilobyte). All three numbers should be integers. See example Below EXAMPLE This is an example of what your code should do when it is run. Please note that the 0.681, Every multiple of 4 must be even, and 13009902468 are the inputs typed and entered by the person running the code. Please provide a value for x: 0.681 The value of y is: -0.594 Please enter a string: Every multiple of 4 must be even. The percentage is 18.2 % Please enter a number of bits: 13009902468 The number of bits given is equal to 1 gigabytes 626 megabytes 237 kilobytes

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!