1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Len [333]
3 years ago
13

"write a program that reads two floating point numbers and prints their sum difference and product."

Computers and Technology
1 answer:
elena55 [62]3 years ago
6 0
<span>int main() { float a; float b; float sum; float difference; float product; printf("enter 2 numbers"); scanf("%f%f",&a,&b); sum= a + b; difference = a - b product =a*b; printf("\nsum: %f" , sum); printf("\ndifference: %f, difference); printf("\nproduct : %f, product ); }</span>
You might be interested in
Controls that are used to assess whether anything went wrong, such as unauthorized access attempts, are called ________ controls
disa [49]
Hey there,
The answer is <span>detective.

Hope this helps :))

~Top
</span>
4 0
3 years ago
Read 2 more answers
Which osi reference model layer includes all programs on a computer that interact with the network?
user100 [1]
<span>Which OSI reference model layer includes all programs on a computer that interacts with the network? The Application Layer</span>
5 0
3 years ago
Experienced students may serve as mentors if they are at least age 21 and have at least 3 years of post-secondary education. In
AlekseyPX

Answer:

=IF(AND(B2>=21,C2>=3),"Yes","No")

Explanation:

Given

Age: Not less than 21

Post secondary education: Not less than 3 years

Required:

Enter a formula using the IF and AND functions as follows to determine if Kay Colbert is eligible to serve as a mentor

The excel file showing the records is not provided; So, in other to solve this question following assumption will be made

  • Cell B2 represents age
  • Cell C2 represents post secondary education

After giving you the formula using my illustration, all you need to do is to edit the cell names to suit your purpose;

Type the following in Cell L2

=IF(AND(B2>=21,C2>=3),"Yes","No")

<em>Analysis</em>

=: An excel formula must start with =

IF: This shows the function being used

AND: This shows that there are more than one condition in the IF function; all of which must be true

B2>=21,C2>=3: These are the two conditions in the question;

Note that B2 represents the student age and C2 represent the student post secondary education.

"YES": The IF function will return "Yes" without the quotes, if both conditions are true

"NO": Otherwise, the function will return "No" without the quotes

To fill the formula in L3 to L31, all you need to do drag the formula from L2 down to L31

7 0
3 years ago
8.4 Lesson Practice <br> edhesive quiz
kow [346]

Answer:

1. 5

2. Because they let us quickly process the contents of an array, which have many values.

Explanation:

8 0
3 years ago
Which of the following is a quick way to restore the arrow pointer after you have used it for drawing?
Oxana [17]
A quick way to restore the arrow pointer after you have used it for drawing is to press the esc key.  The esc key is <span>used for any of the different </span>functions<span>, as to interrupt or cancel the current process or running program, or to close a pop-up window.</span>
7 0
3 years ago
Other questions:
  • For each of the following data storage needs, describe which abstract data types you would suggest using. Natural choices would
    15·1 answer
  • 1 what elements of composition are under your control in photoshop
    13·1 answer
  • A computer is a(n) ____ device, operating under the control of instructions stored in its own memory, that can accept data, proc
    9·1 answer
  • Create a stack with three integers and then use .toarray to copy it to an array.
    10·1 answer
  • What does an executable file contain? Program instructions written in source code. Program instructions that have been compiled
    15·1 answer
  • Which of the following is considered proper typing technique?
    15·1 answer
  • Which of the following statements is true?
    5·1 answer
  • THE FOLLOWING IS WRITTEN IN C:
    5·1 answer
  • Get someone get her for me if need snap kell.c11
    10·1 answer
  • THIS IS FOR MY FINAL PLEASE HELP
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!