Questions: 5 831

Answers by our Experts: 5 728

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Input + Addition




by CodeChum Admin





Hopefully you haven't forgotten about your previous lesson, because you're going to need it for this one.







Instructions:





Input two integers (one per line) and make sure to store them in variables.




Add the two integers and print out their sum!

Create a library management system wherein any library member should be able to search books by their title or its author.


Create a library management system using Python program wherein any library member should be able to search books by their title or its author.


We are hungry college students, and we are developing an app to help us find the closest restaurants, in restaurant.py. Your job is to implement the functions below that represent the restaurant abstract data type.

A restaurant is an abstract data type that has a name, a longitude coordinate, and a latitude coordinate. We create a restaurant like this:


The formula below decribes how to convert a temperature on the Fahrenheit scale to a temperature on the Kelvin scale.

TempK = (TempF − 32) × 5/9 + 273.15

Using the variables below Write one line of code to implement the formula


// Kelvin temperature

float TempK;

// Fahrenheit temperature

float TempF = 72; 


//One line of code to calculate temperature in Kelvin




We have been asked to produce a graph for a hospital chart, for which in that chat, you have a graph of temperature against system time, wherein the user will make an input.

same thing for pressure, respiration and pulse

with ranges of the temperature being 35*C to 41*C

Pressure having range of 120/80 mmHg to 120/139 mm Hg

Pulse rate being 60 beats/min to 180 or 160 beats/min

Respiration being 20 breaths to 60 breaths


it can all be on a different graph sheet...


making it that complex can have the user's name in it

please i need help....



Create a library management system wherein any library member should be able to search books by their title, author, subject category as well by the publication date.


7. Negative Decimal Tally

by CodeChum Admin

We've been giving positive numbers too much attention lately, it's time to let negative numbers take the spotlight this time!


Instructions:

  1. Input four float numbers; they could be positive or negative.
  2. Only add all inputted negative numbers, and print its sum, up to 2 decimal place.
  3. Hint: The previous/latest topic is about if-else-elseif statements, but do we need one here?

Instructions

  1. Input four decimal numbers, they could be positive or negative.
  2. Add all the negative numbers, and print the sum, up to 2 decimal places.

Input

A line containing four decimals/floats separated by a space.


-30.22·10.5·-2.2·-1.8

Output

A line containing a negative decimal/floats with two decimal places.


-34.22

8. Sort It Yourself

by CodeChum Admin

A descending order means values arranged from largest to smallest. But in your case, you're going to have to sort these integers in ascending order, which means from smallest to largest.


Instructions:

  1. Input three integers.
  2. Print the integers in ascending order using your knowledge on conditional statements.

Instructions

  1. Input three integers.
  2. Print the integers in ascending order.

Input

A line containing three integers separated by a space.


6·1·3

Output

A line containing three integers separated by a space.


1·3·6

7. Negative Decimal Tally

by CodeChum Admin

We've been giving positive numbers too much attention lately, it's time to let negative numbers take the spotlight this time!


Instructions:

  1. Input four float numbers; they could be positive or negative.
  2. Only add all inputted negative numbers, and print its sum, up to 2 decimal place.
  3. Hint: The previous/latest topic is about if-else-elseif statements, but do we need one here?

Instructions

  1. Input four decimal numbers, they could be positive or negative.
  2. Add all the negative numbers, and print the sum, up to 2 decimal places.

Input

A line containing four decimals/floats separated by a space.


-30.22·10.5·-2.2·-1.8

Output

A line containing a negative decimal/floats with two decimal places.


-34.22
LATEST TUTORIALS
APPROVED BY CLIENTS