Ca Eution 3. Negative Fusion Expected Output ter erI ter ll gates O Test Case Your Output LA series of decimal numbers Expected Output containmegeomts ter ter ter ter . Yaeive ter ter .na ter er . ter er4 ter er .u ter er Sf ll gtes . ter ter f i egtive O Test Case 3

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

PlsHelpASAP

 

Tet Caes
Ecutione
main.c
3. Negative Fusion
by Codechum Admin
Expected Output
As e said befoe, there areee types of
numbers: the positive, the a
and the negative
attention only to
Enter unberI 1.4
Enter uber .M
Enter a nunber
Y, we shallp
negetive ones now Makea loop that will accept
nen
Today
Enter nbe
andom decimaoat numbers When the user
Enter unber.
Inputs 0, the loop will terminate and then output
the sum of al negative numbers inputedin3
Sef sll negti .7
decimal places
Lets code
O Test Case 2
npu
Your Output
LA series of decimal numbers
No Output
Expected Output
The first lines w contain message prompts to
Input the decimal numbers
The last line contains the sum of all negative
Enter nunber: 1.1
EnteruberI 4.1
Enter ueri 1.4
Enternunber 41.1
Enter uberi 4.
Enter uber .
Enter nuberi
numbers with 3 decimal places.
Enter terI 1.
nuberi1.
nter
Enter
nunberi -1.444
Sun of all negatives u.7
Enter uberi 4.41
Enteruberi
Sun of all negatives .77
O Test Case 3
Transcribed Image Text:Tet Caes Ecutione main.c 3. Negative Fusion by Codechum Admin Expected Output As e said befoe, there areee types of numbers: the positive, the a and the negative attention only to Enter unberI 1.4 Enter uber .M Enter a nunber Y, we shallp negetive ones now Makea loop that will accept nen Today Enter nbe andom decimaoat numbers When the user Enter unber. Inputs 0, the loop will terminate and then output the sum of al negative numbers inputedin3 Sef sll negti .7 decimal places Lets code O Test Case 2 npu Your Output LA series of decimal numbers No Output Expected Output The first lines w contain message prompts to Input the decimal numbers The last line contains the sum of all negative Enter nunber: 1.1 EnteruberI 4.1 Enter ueri 1.4 Enternunber 41.1 Enter uberi 4. Enter uber . Enter nuberi numbers with 3 decimal places. Enter terI 1. nuberi1. nter Enter nunberi -1.444 Sun of all negatives u.7 Enter uberi 4.41 Enteruberi Sun of all negatives .77 O Test Case 3
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY