subject

Write an assignment statement for the following mathematical equation: y = (1/3)x + (x/4) + 2x Keep x as an integer. Use an expression that matches the equation's right side as closely as possible. If the input is -1, the output is -2.583333333333333. Hints: Don't rearrange the equation or try to simplify it. If both operands of division (or other operators) are integers, integer division is performed, which rounds down; so for example 1/2 is 0. So make at least one operand a floating-point type, as in 1.0/2, or 1.0/2.0, to cause floating-point division.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:30
Write a program that reads the file, then displays the average number of steps taken for each month. (the data is from a year that was not a leap year, so february has 28 days.) your program needs to use at least 3 functions not counting main and display the information in a neat well formatted fashion.
Answers: 3
question
Computers and Technology, 21.06.2019 21:00
In this lab, you add a loop and the statements that make up the loop body to a c++ program that is provided. when completed, the program should calculate two totals: the number of left-handed people and the number of right-handed people in your class. your loop should execute until the user enters the character x instead of l for left-handed or r for right-handed. the inputs for this program are as follows: r, r, r, l, l, l, r, l, r, r, l, x variables have been declared for you, and the input and output statements have been written.
Answers: 3
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
You know the right answer?
Write an assignment statement for the following mathematical equation: y = (1/3)x + (x/4) + 2x Keep...
Questions
question
Social Studies, 10.07.2019 08:20