Negative Decimal Tally We've been giving positive numbers too much attention lately, it's time to let negative numbers take the spotlight this time! Instructions: Input four float numbers; they could be positive or negative. Only add all inputted negative numbers, and print its sum, up to 2 decimal place. Hint: The previous/latest topic is about if-else-elseif statements, but do we need one here?

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter3: Understanding Structure
Section: Chapter Questions
Problem 20RQ
icon
Related questions
Question

Hi, please help me create a python program for this! ASAP! Thank you

 

Negative Decimal Tally

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?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning