Write a program which will ask the user to input a floating point number corresponding to temperature. We will assume the temperature was in Celsius degrees and display its equivalent in Fahrenheit degrees after computing it using the following formula Fahrenheit = ( 9.0 / 5.0 ) * Celsius + 32

Answers

Answer 1

// writing c++ code...

// taking input

cout<< " Enter the floating point number : ";

cin>>fnumber;

// calculating the Fahrenheit temp

far_temp= (9.0/5.0) * fnumber +32;

cout<<" Fahrenheit = "<< far_temp;


Related Questions

A final class can't be extended.TrueFalse

Answers

Answer:

True

Explanation:

A final class is something like sealed one and no one can inherit that further.

it is useful to lock our code or functionality from others

Which of the following would compile without error? A. int a = Math.abs(-5); B. int b = Math.abs(5.0); C. int c = Math.abs(5.5F); D. int d = Math.abs(5L);

Answers

Answer:

int a = Math.abs(-5)

Explanation:

Math.abs() is the function which gives the absolute value of the integer.

syntax:

Math.abs(int name);

the argument enter must be integer(int).

int b = Math.abs(5.0): here, 5.0 is not the integer, it is float. So, it gives error.

int c = Math.abs(5.5F): here, 5.5F is not the integer, it is float. So, it gives error.

int d = Math.abs(5L): L stand for long but it is not int. So, it also gives error.

Therefore, the correct result is int a = Math.abs(-5), -5 is integer.

Explain what is meant by information technology (IT). Explain what is meant by information systems (IS). Why is it important to understand the differences between information technology (IT) and information systems (IS)?

Answers

Answer:Information technology(IT) :- It is the use of technology in developing, maintaining, and use of computers software, and networks for the processing and distributing the data .

Information System(IS) can be defined as a system which consists of software,hardware and trained individuals brought together to help an organization to plan,control,coordinate and to make decisions.

The difference between IT and IS is that Information Technology is the part of Information system but deals with the technology within the system.

If you're adding an image to your report, you'll be working on the Layout Tools _______ tab.

A. Page Setup
B. Arrange
C. Design
D. Format

Answers

Answer:

the answer is design tab

Answer:

design

Explanation:

Write a C++ program that stores information (name, gender, birthday, phone number, civil status, religion, college course, nationality) of a student in a structure and displays it on the screen.

Answers

#include
class Student
{
public:
Student(std::string name, std::string gender, std::string phonenumber, std::string civilstatus, std::string religion, std::string course, std::string nationality)
{
Student::name = name;
Student::gender = gender;
Student::phoneNumber = phonenumber;
Student::civilStatus = civilstatus;
Student::religion = religion;
Student::collegeCourse = course;
Student::nationality = nationality;
}
void displayOnScreen()
{
std::cout << "Name: " << name << std::endl
<< std::cout << "Gender: " << gender << std::endl
<< std::cout << "Phone Number: " << phoneNumber << std::endl
<< std::cout << "Civil Status: " << civilStatus << std::endl
<< std::cout << "Religion: " << religion << std::endl
<< std::cout << "College Course: " << collegeCourse << std::endl
<< std::cout << "Nationality: " << nationality << std::endl;
}
std::string name, gender, phoneNumber, civilStatus, religion, collegeCourse, nationality;
};

2) What is the value stored in the variable z by the statements below?

int[ ] q = {3, 2, -2, 4, 7, 0, 1};
int z = q.length;

a) 1
b) 3
c) 6
d) 7
e) None of the above

Answers

Answer:

7

Explanation:

Because the q.length is a inbuilt function in the programming which used to get the length of the array. In the array, there are 7 values are store. Therefore, the size 7 store in the variable z.

For example:

int[] array={1,2};

int x = array.length;

the answer of above code is 2, because the elements present in the array is 2.

 

Write a value-returning function isVowel that returns the value true if a given character is a vowel and otherwisereturns false.

Answers

Answer: Following is the function isVowel written in python:-

def isVowel(check):#defining isVowel function with parameter check

#following are the nested if else if for checking that check is a vowel or not if yes returning True if not returning False.

   if check == "A" or check =="a":

       return True

   elif check == "E" or check =="e":

       return True

   elif check == "I" or check =="i":

       return True

   elif check == "O" or check =="o":

       return True

   elif check == "U" or check =="u":

       return True

   else:

       return False

Explanation:

In the function we are checking in each if or elif statement that check is a vowel or not if it is a vowel then returning True if not returning False.

When developing e-business systems, an in-house solution usually requires a ____ for a company that must adapt quickly in a dynamic e-commerce environment.
Answer
smaller initial investment and provides more flexibility
smaller initial investment but provides less flexibility
greater initial investment but provides more flexibility
greater initial investment and provides less flexibility

Answers

Answer:

greater initial investment but provides more flexibility

Explanation:

What are the modes of operation of WLANs?

Answers

Answer:

WLAN's or Wireless LAN Units have 2 main modes of operation

Explanation:

The Two Main modes of Operation are the following

Infrastructure Mode: in this mode the main WLAN unit becomes the main connection point in which all devices are connected to and the main unit provides an internet connection to all the devices connected to it.

Ad Hoc Mode: in this mode devices transfer data from one another back and forth without permission from a base unit.

Some WLAN units will also include 2 extra modes of operation called Bridge and Wireless Distribution System (WDS).

Bridge Mode: this mode allows the base unit to act as an intermediary and bridge two different connection points. Such as bridging a wired connection with a wireless one.

WDS Mode: this mode uses various access points to wirelessly interconnect devices to the internet using repeaters to transmit connections. It can provide internet to both wired and wireless clients.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

Unlike the climate of the other islands of Hawaii, ________Kona contains 54 different temperate zones.
that of
this is
these are
those that

Answers

Answer:

None

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

Unfortunately, none of these answers would be factually nor grammatically correct. For Starters Kona is not an island Kailua-kona is the capital town of the Big Island in Hawaii.

Regardless of that fact, none of the answers given would make the sentence make sense grammatically. The Only way for the sentence to make sense grammatically, the answer either needs to stay blank or be Kailua. Like so...

Unlike the climate of the other islands of Hawaii, Kailua Kona contains 54 different temperate zones.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

The sentence should be completed with 'that of,' making it read 'Unlike the climate of the other islands of Hawaii, that of Kona contains 54 different temperate zones.' Hawaii's diverse climates are heavily influenced by altitudinal variations and topographical features, leading to a range of climatic zones across its islands.

The correct completion for the sentence provided is that of. Hence, the complete sentence reads: Unlike the climate of the other islands of Hawaii, that of Kona contains 54 different temperate zones.

Hawaii is known for its diverse climate conditions. While most islands in the Pacific have a tropical type A climate, Hawaii has a variety of climatic zones due to its topography and altitudinal variation. For instance, Kauai, one of the Hawaiian Islands, is one of the wettest places on Earth, receiving more than 460 inches of rain per year. This high level of precipitation is due to the rain shadow effect caused by Mt. Wai'ale'ale. The windward side of this mountain receives substantial rainfall while the leeward side remains semi-desert due to the rain shadow.

Japan, another island group, also presents diverse climates. One of its islands, Hokkaido, features a type D climate and is known for snowfall that supports activities like downhill skiing. Japan's diverse climate is a result of its mountainous terrain, with active volcanoes like Mount Fuji influencing the regional climate conditions.

What scheme is usually used today for encoding signed integers?

Answers

Answer:

 For encoding signed integer the two's complement scheme are used as, the number can be positive, with no fraction part and it can be negative. The computer can stored information in the form of bits and the value with the zero and one. Encoding of signed number in the two's complement with the positive integer it can be done by binary number.

Which logical relationship does the PDM usemost often?

Start to finish
Start to start
Finish to finish
Finish to start

Answers

Answer:

Finish to Start.

Explanation:

Finish to Start dependency also known as FS is most commonly used dependency type used between activities in PDM(Precedence Diagramming Method).For example :- in a software you cannot test a screen before it is developed,in construction you cannot paint a building before it is constructed. So we conclude that Finish to start is most commonly used.

Answer:

Finish to start

Explanation:

I looked it :) hoped it helped

. Two or more functions may have the same name, as long as their _________ are different.

Answers

Answer:

Number of parameters.

Explanation:

The function is a block of the statement which performs the special task.

Syntax:

type name(parameter_1,parameter_2,...){

statement

}

we can define any number of function in the code and also with the name as well.

But when we define the function with same name the number of parameter define in both function must be different.

for example:

1. int print(int a){

statement;

}

2. int print(int a, int b){

statement;

}

first has one parameter and second has two parameters.

Both are valid in the code.

the address of the last cell of a memory RAM is 3FFFFh.a total capacity of the main memory and 4M bits and the data bus can transfer the contents of two memory cells , respond

a)which register the size of the memory address(MAR) ?

b)where the maximum number of cells that can be stored in memory?

c)which the cell size of this machine ?

d)which the size of the memory buffer register (MBR ) ?

Answers

Hey there!:

Given the address of the last cell of a memory RAM is 3FFFFh then   :

There are 8 bits in a byte  

1024 bytes in a kilobyte  

 so 8*1024= 8192  

 so 8192 bits in a kb  

 32*8192 = 262144  

there are 262144 bits in 32KB .

a) 32 bit address registers must match 2^32 byte = 4 GB of physical memory.

However, with 32 Bit you can also address more than 4 GB, like Physical Address Extension (PAE) does.

The other way is that you can access 4 GB with less than 32 bit address register.

____________________________________________________

b) Main Memory = 4M × 32Kbits, RAM chips = 32K × 4bit.

For this memory we require 4 × 2 = 8 RAM chips.

Each chip requires 18 address bits (ie. 218 = 256K).

And 1M × 8 bits requires 20 address bits (ie. 220 = 1M )

_____________________________________________________

c) The size of the storage cells is known as the word size for the computer.

In some computers, the word size is one byte while in other computers the word size is two, four, or even eight bytes. In our 4M main memory the size of cell is 4*2^20 bytes.

Each storage cell in main memory has a particular address which the computer can use for storing or retrieving data.  

______________________________________________________

d) The size of MBR is the 4M bits of main memory.

_____________________________________________________

Hope this helps!

Write a c++ program to compute a water andsewage bill. The inputis the number of gallons consumed. The bill is computed asfollows:

water costs .21dollars per gallon of water consumed

sewage service .01dollars per gallon of water consumed

Answers

Answer:

#include<iostream>

using namespace std;

//main function

int main(){

   //initialization

   float gallonConsume;

   //print the message

     cout<<"Enter the number of gallons consumed: ";

     cin>>gallonConsume;   //read the input

   float waterCost = 0.21 * gallonConsume;   //calculate the water cost

   cout<<"The water cost is: "<<waterCost<<endl;  //display

   float sewageService = 0.01 * gallonConsume;   //calculate the sewage service cost

   cout<<"The sewage service cost is: "<<sewageService<<endl;  //display

   return 0;

}

Explanation:

Include the library iostream for using the input/output instruction.

Create the main function and declare the variables.

then, print the message on the screen by using cout instruction.

the value enters by the user is read by cin instruction and store in the variable.

After that, calculate the water cost by using the formula:

[tex]Water\,cost = 0.21 * water\,consume[/tex]

then, display the output on the screen.

After that, calculate the sewage service cost by using the formula:

[tex]sewage\,service\,cost = 0.01*water\,consume[/tex]

finally, display the output on the screen.

A pointer is the memory address of a variable. FALSE TRUE

Answers

Answer:

False

Explanation:

Because pointer itself is a variable that holds the memory address of  a variable as it's content.

Implement RandMultipByVal function, which gets one integervariable as its argument
and multiply it by a random number between 1 to10 (use call-by-value approach).

Answers

Answer:

#include <iostream>

#include <stdlib.h>

#include <time.h>

using namespace std;

void RandMultipByVal(int number){

   srand(time(NULL));

   int random = rand()%10+1;

   cout<<random*number;

}

int main()

{

 

  RandMultipByVal(4);

  return 0;

}

Explanation:

Include the three libraries, iostream for input/output, stdlib.h for rand() function and time.h for srand() function.

Create the function with one integer parameter.

Then, use srand() function. It is used to seed the rand() function or locate the starting point different in different time.

rand(): it is used to generate the random number between the range.

for example:

rand()%10  it gives the random number from 0 to 9.

if we add 1, then it gives from 1 to 10.

After that, multiply with parameter value and then print the result.

For calling the function create the main function and call the function with pass by value.

Solve the following system of algebraic equations: Y = 1-x^2 and y = 1+x

Answers

Answer:

x=0;   x=1

Explanation:

The system presents a quadratic equation and a linear equation. Therefore, the result will have two solutions.

The first step is to match the two equations:

[tex]1+x=1-x^{2}[/tex]

Then we clear the equation by zeroing.

[tex]0=x^{2} +x+1-1[/tex]

Now we perform indicated operations

[tex]x^{2} +x=0[/tex]

We factor with the common factor method

x(x+1)=0

We equal each factor to zero and get the results

x=0

(x+1)=0

x=-1

The two values ​​that satisfy both equations are 0 and -1

What is the output of the following function call? //function body int factorial(int n) { int product=0; while(n > 0) { product = product * n; n❝; } return product; } //function call cout << factorial(4);

Answers

Answer:

zero

Explanation:

Because of the define the product variable is zero.

when the function call with pass by value 4.

The program control moves to that function, after that product

store the value zero. Then, product is multiply with n which become zero

because 0 * n is zero and store in the product again.

after that, n'' is wrong it must be 'n--' for performing the factorial function.

after that, the value of n is 3, again loop execute because condition n > 0

is true.

again zero multiply with n and become zero.

this process repeated until condition false and finally the output is zero.

Correction:

To make the code working:

change product = 1 instead of zero.

and change n-- in place of n''.  

Deleting anitem from a linked list is best when performed using two pointersso that the deleted item is freed from memory.
a.True
b. False

Answers

Answer:

a.True.

Explanation:

To delete a node from linked list it is best to do it by using two pointers suppose say prev and curr. Iterating over the linked list while curr is not NULL and updating prev also.On finding the node to be deleted we will set the prev so that it points to the next of curr and after removing the link we will free curr from memory.

line of code for deleting a node in c++:-

prev->next=curr->next;

delete curr;  or  free(curr);

True of False - use T or F The Math class can be instantiated.

Answers

Answer:

F

Explanation:

The Math class cannot  be instantiated because it has a private constructor.

However all the methods in the java.lang.Math are static which means that you can invoke them directly without having to instantiate the class. For example:

static int abs(int a) defined in the Math class can be invoked from the calling function as:

int absolute_value = Math.abs(a);

Note that the class Math is also declared as final which means it cannot be extended by any other class as well.

Write a program that will compare two names. The program prompts the user to enter two names for a comparison. If the names are same, the program states that. If the names are different, the program converts both names to UPPERCASE, and compares then again. If they are equal, the programs displays a message stating that names are equal if CASE is ignored. Otherwise, the program prints names with a message that names are not equal.

Answers

Answer:

We can use comparison operator 'Equals to' (==) to compare two strings.

Explanation:

We can use conditional statement 'if else' to put conditions. If statement contains boolean expression.If statement is followed by else block. If the boolean expression evaluates to true, then the if block of code is executed, otherwise else block of code is executed.

If we want to compare two strings with uppercase, then we can convert the input strings given by users using ToUpper() string function.

For example,

 string abc;

string uppercase= abc.ToUpper(); // gives ABC as result

I have written a program using c# as a  programming language in a word document and attached the same. Please find. Thank you!

rite a program that prompts the user to enter an integer and displays each of its numbers one by one.

Answers

Answer:

#include <iostream>

using namespace std;

int main()

{

   int num;

   cout<<"Enter the integer: ";

   cin>>num;

   

   while(num>0){

       

       int rem = num%10;

       cout<<rem<<endl;

       num = num/10;

       

   }

}

Explanation:

First include the library iostream in the c++ programming for input/output.

Then write the main function and declare the variable.

cout is used to display the message on the screen.

cin is used to store the value in the variable.

then used the while loop and put the condition num>0

after that, take the reminder of the number by using the operator modulus '%'.

and then print it on the screen.

after that reduce the number by one digit.

This process continue until the condition not failed.

Therefore, the all digits of the number will be printed.

Analytical processing uses multi-levelaggregates, instead of record level access.? True? False

Answers

Answer:

True.

Explanation:

Analytical processing uses multi-levelaggregates, instead of record level access.

What is the data rate of a DS0 signal?

Answers

Answer: 64 Kbps

Explanation:

TRUE FALSE 31. Using indentation can make our code much easler to read and debug.

Answers

Answer:

True

Explanation:

Indentation makes your code easier to read and debug by grouping related code.

Also, in some programming languages such as Python, indentation is necessary.  This is opposed to other programming languages such as JavaScript, where there are semicolons and other characters that end and separate lines of code.

There is a relationship between the grain and thedimensionso Trueo False

Answers

Answer:

True.

Explanation:

There is a relationship between the grain and the dimensions.

How are information technology services delivered in anorganization?

Answers

Answer:

The information technology services are delivered in many ways in an organisation as:

The information technology services are referred the plans and the process of the organisation which are used for design and manages the service delivery in the organisation and its services are basically depend upon the client needs.  IT can significantly improved the profitability by shortening the material search and the delivery time, it is used for improving the decision making and accelerating the schedules. IT management are the vision into the some valuable reality.

Write the following method to display three numbers in increaseing order:

public ststic void displaySortedNumbers(
double num1, double num2, double num3)

Answers

//Assuming your code is in C#
using System;
using System.Collections.Generic;
public static void displatSortedNumbers(double num1, double num2, double num3){
List list1 = new List {num1,num2,num3};
foreach( int g in list1 )
{
// Display sorted list
Console.WriteLine(g);
}
}

The true or false questions.

Given the command: find /home -name 'f*' If there are matched files, then all the printed paths of the matched files will start with /home

Answers

Answer:

true

Explanation:

The command:

find /home -name 'f*'

will match all the files starting with the character 'f' which are present in the /home directory.

Hence, all the printed paths of the matched files will start with /home.

For example:

/home/funny.txt

/home/function.log

/home/free.py

Other Questions
Who was the 28th president of the United States? Explain the following terms; i.Water content in air ii. Relative humidity iii. Enthalpy 4.09 Presentaciones- Mensajes de casa - Prctica A. Contesta las preguntas con una oracin (a sentence) completa en espaol. 1. Dnde estn Pablo y Julio? 2. Qu tienen los muchachos en las manos? 3. En qu ciudad vive Carmen Duarte Guzmn? 4. Qu recibi Julio de su amiga Iris-Teresa? 5. Qu le dijo Iris-Teresa? 6. Dnde hay computadoras? 7. Adnde va Pablo esta tarde? 8. Por qu va Julio a telefonear a Jos Antonio? 9. Por qu no llama nunca Pablo cuando est de vacaciones? 10. Por qu no le cuesta mucho a Julio hacer llamadas? B. Cambia los adjetivos a los superlativos. (For a review of the superlatives, go to the 4.03 estructuras tab). Ex: Susita es baja. Bajsima. (Remember to look at masculine/feminine and singular/plural.) 1. Pedro es guapo. 2. Las mus son altas. 3. La tarjeta postal es fea. 4. Los viajeros estn contentos. 5. El correo-electrnico es rpido. 1. How does passage of the Defense of Marriage Act in 1996 affect the Fulland Credit Clause?A It says states do not have to recognize same-sex marriages fromanother state.OBIt prohibits all interstate compacts.It says that the Full Faith and Credit Clause only applies to criminmatters.DIt prohibits all divorces in any state. why doe Socrates think death is not an evil and does not fear it Options for 1st Question: increasing, decreasing, constantOptions for 2nd Question: -3 < x < 0, -7 < x < -3, -9 < x < -7Options for 3rd Question: (-5,8) , (-5, -8) , (5,-8) why is dr. carla o'donnell visiting the jurisville police dept You are performing an experiment in a lab to attempt a new method of producing pure elements fromcompounds. The only problem is that you do not know what element will form. By your previous calculationsyou know that you will have 6.3 moles of product. When it is complete, you weigh it and determine you have604.4 grams. What element have you produced? If an object is propelled upward from a height of 128 feet at an initial velocity of 112 feet per second, then its height h after t seconds is given by the equation h equals negative 16 t squared plus 112 t plus 128. After how many seconds does the object hit the ground? Round to the nearest tenth of a second. Which of the following phrases from Arithmetic is an example of metaphor?who is better in arithmeticIf you have two animal crackersArithmetic is seven eleven all good children go to heaven...and you say No no no Describe how the body maintains posture. In an old-fashioned amusement park ride, passengers stand inside a 3.0-m-tall, 5.0-m-diameter hollow steel cylinder with their backs against the wall. The cylinder begins to rotate about a vertical axis. Then the floor on which the passengers are standing suddenly drops away! If all goes well, the passengers will stick to the wall and not slide. Clothing has a static coefficient of friction against steel in the range 0.60 to 1.0 and a kinetic coefficient in the range 0.40 to 0.70. What is the minimum rotational frequency, in rpm, for which the ride is safe? Read the passage. Then answer the question that follows.ANTONY. Friends, Romans, countrymen, lend me your ears.I come to bury Caesar, not to praise him.The evil that men do lives after them;The good is oft interrd with their bones.So let it be with Caesar. The noble BrutusHath told you Caesar was ambitious.If it were so, it was a grievous fault,And grievously hath Caesar answered it.Here, under leave of Brutus and the restFor Brutus is an honourable man ,So are they all, all honourable menCome I to speak in Caesars funeral.The Tragedy of Julius Caesar,William ShakespeareWhich is the best summary of this part of Antonys speech?Antony calls the assassins "honourable men but subtly turns the crowd against them.Antony believes that if Caesar were truly ambitious, he paid the price for it.When people die, the good they have done is often lost and their evil deeds endure.Antony agrees with Brutus that Caesar was ambitious.the answer is A Based on the details in the story, what is its primarypurpose? What is the peak emf generated (in V) by rotating a 1000 turn, 42.0 cm diameter coil in the Earth's 5.00 105 T magnetic field, given the plane of the coil is originally perpendicular to the Earth's field and is rotated to be parallel to the field in 12.0 ms? According to Article Il of the Constitution, one of the president's duties is toserve as commander in chief.create laws and interpret themset up and manage the courts.serve in the House and Senate. Find a compact form for generating function of the sequence 4, 4, 4, 4, 1, 0, 1, 0, 1, 0, 1, 0, If the light is green as you approach an intersection, you should:A. Cover your brakesB. Expect it to change soonC. Speed up to enter the intersection Skeletal traction is applied directly to the bone and uses opposing forces to create the traction. Nursing care of the patient with skeletal traction include:a. All lines be free of tangles.b. Weight ordered is in continuous use.c. patient is given a trapeze bar to help mobility in the bed.d. Linens are changed only as need.e. Unaffected foot is kept against the footboard. The stairway shown is made out of solid concrete. The height of each step is four inches and the width is 10 inches. The length is 6 inches. What is the volume, in cubic inches, of the concrete used to create this stairway?