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
I want to make a if else statement where I want to make a message. If the input are letters (which it’s not supposed to) then I
MrRa [10]

Answer:scratch, im in it (22550077) AND ALSO IF MEANS LIKE IF YOU SAY HI THEN IT SAYS HI OR IF YOU SAY START GAME THE GAME STARTS

Explanation:

4 0
3 years ago
____________ define the allowable interactions between subjects and objects. credentials responsibilities procedures access cont
liq [111]
<span>Access controls define the allowable interactions between subjects and objects.
</span>They define contains rules which govern the interactions between subjects and objects and permissions subjects can grant to other subjects. The interactions between subjects and objects can be:<span> take, grant, create, remove...</span>
8 0
3 years ago
Read 2 more answers
ALSO PLZZZ HELP :P Suppose you are purchasing a game at a local retail store that comes on DVD. In order to install it on your l
zheka24 [161]
I think the answer is B: an optical drive
Hope this helps have a great night
8 0
3 years ago
Which one of these is the range for a Class C address?
kifflom [539]

class C network addresses range from 192 to 223

6 0
3 years ago
Read 2 more answers
Computer keyboard failures can be attributed to electrical defects or mechanical defects. a repair facility currently has 25 fai
Mariulka [41]
You are going to select 5 keyboards, from a set of 25 defective keyboards. When you select the first keyboard it may be have either electrical deffects or mechanical deffect, this is two possibilities. The same happens with the second, third, fourth and fifth selection. Then  each selection has 2 different possibilities, and the number of possibilities are: 2*2*2*2*2 = 32.

But that is considering that the order matters. This is that it is different that the first has electrical deffects and the others have mechanical defects than the second has mechanical electrical deffects and the other has mechanical deffects.

If you the order is not relevant, then the only different outcomes are:

1) 5 with electrical deffects
2) 4 with electrical deffects and 1 with mechanical deffects
3) 3 with electrical deffects and 2 with mechanical deffects
4) 2 with electrical deffects and 3 with mechanical deffects
5) 1 with electrical deffects and 4 with mechanical deffects
5) 5 with mechanical deffects.

In this case the answer is 6 different ways.

Answer: 6 
5 0
3 years ago
Other questions:
  • Your bank contacts you asking you to phone a number supplied in the email.What do you?
    13·2 answers
  • Which of the following is NOT true about placement of the keyboard?
    6·1 answer
  • What are 3 characteristics of syndrome E?
    13·1 answer
  • Isp servers are continually connected to a larger network, called a regional network, which, in turn, is connected to one of the
    6·1 answer
  • COMPUTER FUNDIMENTAL HELP 15 POINTS!! RESEND IT
    7·2 answers
  • What is microsoft access?
    14·1 answer
  • In filmmaking, who is ultimately responsible for the creative process?
    15·1 answer
  • A(n) ________ CPU has two processing paths, allowing it to process more than one instruction at a time. Group of answer choices
    5·1 answer
  • You must write a pseudocode process called swapSort which should sort a list of numbers using an algorithm called swap sort.
    13·1 answer
  • List three variables that could be used in creating a model that determines the best day to plant corn in a given location. 30 p
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!