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
ANEK [815]
3 years ago
14

write a program in pseudo code to solve the following: covert a temperature input in degrees Celsius to degrees Fahrenheit and d

isplays both temperatures. Make sure to use the following variables: Celsius (a Float) and Fahrenheit (a Float) and the followi
Computers and Technology
1 answer:
Tomtit [17]3 years ago
5 0

Answer:

Program Start:

Declare Variables: Celsius and Fahrenheit as float

Input Celsius

Fahrenheit = (Celsius * 9/5) + 32

Print Celsius

Print Fahrenheit

End Program

Explanation:

Pseudo codes are false codes and are used to mimic actual programs.

So, the interpretation of the above code is as follows:

This line indicates the start of the program

Program Start:

The variables are declared, here

Declare Variables: Celsius and Fahrenheit as float

This line gets input for degree Celsius

Input Celsius

This line converts degree Celsius to Fahrenheit

Fahrenheit = (Celsius * 9/5) + 32

The next two lines print the degree Celsius and the equivalent degree Fahrenheit

Print Celsius

Print Fahrenheit

This indicates end of program

End Program

You might be interested in
Write an application named [LastName]_MultiplicationTable and create a method that prompts the user for an integer value, for ex
WITCHER [35]

Answer:

I did this in C# & Java

Explanation:

C#:

       public static void Main(string[] args)

       {

           int input = Convert.ToInt32(Console.ReadLine());

           Multiply(input);

       }

       public static int Multiply(int input)

       {

           int ans = 0;

           for(int i =1; i<=10; i++)

           {

               ans = i*input;

               Console.WriteLine(i + "*" + input + "=" + ans);

           }

           return ans;

       }

Java:

   public static void main(String[] args)

   {

       Scanner myObj = new Scanner(System.in);  

       int input = Integer.parseInt(myObj.nextLine());

       Multiply(input);

   }

   public static int Multiply(int input)

   {

       int ans = 0;

       for(int i =1; i<=10; i++)

           {

               ans = i*input;

               System.out.println(i + "*" + input + "=" + ans);

           }

       return ans;

   }

7 0
3 years ago
a customer is traveling to a branch office, and the network administrator provides her with a static ip address for her laptop.
ser-zykov [4K]

The customer traveling with a provided static IP address should assign the IP in the network adapter settings. Thus, option B is correct.

<h3>What is static IP?</h3>

The complete question is: A customer is traveling to a branch office, and the network administrator provides her with a static IP address for her laptop Which should the customer do to use the static IP address?

A) Run the command "ipconfig configure static"

B) Assign the static IP in network adapter settings

C) Switch the button from dynamic to static on her laptop

D) Disconnect from WiFi and use an Ethernet cable

E) Type the IP address into the browser

A static IP is a setup that is configured manually instead of the DHCP assigned setup. It is a constant and nonchanging IP setup that is used when working remotely.

In the network and sharing system, open the adapter setting and choose the appropriate adapter. Then choose the IPV 4 and check the current internet settings. Choose the desired IP address and then click the OK and save button.

Therefore, option B. static IP is assigned in the network setting option.

Learn more about static IP here:

brainly.com/question/18849429

#SPJ1

7 0
2 years ago
The sales of last 6 months are stored in a list,
MissTica

list1 = [12500, 35000, 12000, 40000, 55000,60000]

print(sum(list1)/len(list1))

We take the sum of all the elements in the list and divide the sum by the quantity of the elements. You can put however many elements in this list and you'll always get the average using the algorithm above.

6 0
3 years ago
Design a GUI program to find the weighted average of four test scores. The four test scores and their respective weights are giv
Alexus [3.1K]

<u>Answer:</u>

I am writing <em>partial code in</em> <em>c++ to calculate weighted average</em>. The weighted average should be calculated based on multiplying the test score and its <em>respective weight and finally add all the test score.</em>

<u>Explanation:</u>

<em>int arrtestscore[100];</em>

<em>int arrweight[100];</em>

<em>int n;</em>

<em>double weightedavg;</em>

<em>cout<<”Enter the number of test score for which weighted average needs to be calculated”;</em>

<em>cin>>n;</em>

<em>for(int x = 0; x <n;x++)</em>

<em>{</em>

<em> cout<<”Enter test score :” + (x+1) ;</em>

<em> cin>>arrtestscore[x];</em>

<em> count<<”Enter the respective weight:”;</em>

<em> cin>>arrweight[x];</em>

<em>}</em>

<em>for (int i=0; i<n;i++)</em>

<em>{</em>

<em> weightedavg = weightedavg + (arrtestscore[i] * arrweight[i])</em>

<em>}</em>

<em>cout<<”weighted average = “ <<weightedavg; </em>

3 0
3 years ago
A programmer needs to understand sequencing to determine whether the order of steps will affects the outcome of the program.
professor190 [17]

Answer:

true

Explanation:

Based on the information provided within the question it can be said that this statement is completely true. Programming code is built as a series of steps that are followed in a linear way. So much so that one action needs to be completed before another action can begin. There are also conditions such as, if step 1 is true then execute step 2, these are all sequences that must be understood by the individual writing the code.

5 0
3 years ago
Other questions:
  • Question # 6
    13·1 answer
  • Write a small program that asks the user how many asterisks it should print out. The user responds with a number, then the progr
    8·1 answer
  • Because of Moore's Law, widely-used encryption programs currently employed by banks and ecommerce sites are now easily penetrate
    11·1 answer
  • The following is the pseudocode for which type of algorithm? For maxElement = each subscript in the array, from the last to the
    14·1 answer
  • Write a SELECT statement that selects all of the columns for the catalog view that returns information about foreign keys. How m
    6·1 answer
  • In the RSA system, the receiver does as follows:1. Randomly select two large prime numbers p and q, which always must bekept sec
    6·1 answer
  • The basics of color theory assume what central tenets
    14·1 answer
  • Weird canvas submission, I’ve done directly what the directions say to do to submit it, but it won’t submit
    15·1 answer
  • Which of the following is an object such as a field which can be inserted into a document
    7·1 answer
  • How to create a trace table
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!