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
Temka [501]
3 years ago
12

Write a program that converst the temperature from Celcius to Fahrenheit. The formula is: F (9/5)C+32

Computers and Technology
2 answers:
gregori [183]3 years ago
6 0

Answer:

F

=

9

5

C

+

32

Subtract 32 from both sides:

F

−

32

=

9

5

C

Multiply both sides by 5:

5

(

F

−

32

)

=

9

C

Divide both sides by 9:

5

9

(

F

−

32

)

=

C

or  

C

=

5

9

(

F

−

32

)

Explanation:

Katen [24]3 years ago
3 0

Answer:

celcius = float(input())

farenheit = (9/5) * celcius + 32

print(farenheit)

Explanation:

Step 1 read the celcius data

celcius = float(input())

Step 2 calculate the farenheit data with the equetion (9/5)C+32

farenheit = (9/5) * celcius + 32

Step 3 show results

print(farenheit)

You might be interested in
Can someone help my friend play over-watch she new do it. I can't help her on Friday (p.s she play on Xbox she will get it on Fr
ss7ja [257]

There should be a place on the Xbox where you can download games. Go there and type in overwatch.

Hope this helped!

5 0
3 years ago
If a node receives a frame and the calculated CRC does not match the CRC in the FCS,
Basile [38]

Answer:

It drops the frame

Explanation:

The FCS stands for the frame check sequence, and it is nothing else but an error-detecting code which is added to the frame ( communication protocol). However, the frames are being used for sending the payload data via a source to a certain destination. And if the CRC is not correct, or that does not match the CRC of the FCS then it confirms that the sequence is not correct, and FCS drops that frame.

5 0
3 years ago
In this problem you are to compare reading a file using a single-threaded file server and a multithreaded server. It takes 12 ms
borishaifa [10]

The answer & explanation for this question is given in the attachment below.

3 0
3 years ago
what do we know about the contents of the arrays left and right with respect to what objects (integers) they contain in general
KIM [24]

A "divide and conquer" approach known as binary search necessitates sorting the starting array first. Because the technique divides the array into two equal halves, it is called a binary algorithm. A binary search will initially examine the middle item in the array and evaluate it in relation to the search terms.

<h3>What exactly is binary search?</h3>
  • Finding an element's location in a sorted array can be done using the searching method known as binary search.
  • With this method, an array's middle is always searched for the element. Only on a list of things that has been sorted can binary search be used. If the elements are not sorted already, we need to sort them first.
  • Binary search is used to find values in any sorted collection from any language library, including Java,.NET, C++ STL, etc.
  • A sorted array can be searched using the binary search algorithm by continually halving the search interval. Utilizing the knowledge that the array is sorted, binary search attempts to minimize the time complexity to O (Log n).

To Learn more about binary search refer:

brainly.com/question/21475482

#SPJ4

3 0
1 year ago
In C language
devlian [24]

Answer:

The program in C is as follows:

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

int main(){

   int dice [1000];

   int count [6]={0};

   srand(time(0));

   for (int i = 0; i < 1000; i++) {

       dice[i] = (rand() %(6)) + 1;

       count[dice[i]-1]++;

   }

   for (int i = 0; i < 6; i++) {

       printf("%d %s %d %s",(i+1)," occurs ",count[i]," times");

       printf("\n");

   }

   return 0;

}

Explanation:

This declares an array that hold each outcome

   int dice [1000];

This declares an array that holds the count of each outcome

   int count [6]={0};

This lets the program generate different random numbers

   srand(time(0));

This loop is repeated 1000 times

   for (int i = 0; i < 1000; i++) {

This generates an outcome between 1 and 6 (inclusive)

       dice[i] = (rand() %(6)) + 1;

This counts the occurrence of each outcome

       count[dice[i]-1]++;    }

The following prints the occurrence of each outcome

   for (int i = 0; i < 6; i++) {

       printf("%d %s %d %s",(i+1)," occurs ",count[i]," times");

       printf("\n");    }

8 0
4 years ago
Other questions:
  • Write the printitem() method for the base class. sample output for below program: last name: smith first and last name: bill jon
    6·2 answers
  • _____ software is used to play, create, and modify audio and video files.
    6·1 answer
  • When entering a formula or function into a cell, most spreadsheet programs require that you begin with some type of symbol, usua
    5·1 answer
  • Need answer Quick!!!!!
    10·1 answer
  • (ACCESS 2016)
    7·2 answers
  • How would you describe the relationship between blocks of code and commands?<br>HELP​
    10·1 answer
  • Write a C class, Flower, that has three member variables of type string, int, and float, which respectively represent the name o
    12·1 answer
  • Why is it important to enforce access controls and to keep logs regarding who has access to data closets
    14·2 answers
  • When there is a missing DLL file, _______.
    5·2 answers
  • Electronic hacking and illegal trespassing for the purposes of acquiring a competitor’s proprietary information is considered.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!