Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. The flowchart (Figure 2) inputs the size of a number of car engines: a value - 1 stops the input. This information is output:

image text in transcribed
image text in transcribed
3. The flowchart (Figure 2) inputs the size of a number of car engines: a value - 1 stops the input. This information is output: average engines size and number of engines with size > 1.5. START Engine -O Count 0 Number - 0 INPUT Size Is Size Yes Average . Engine/Number OUTPUT Average, County No + STOP Yes 1a Size 1.52 Count Count ! No Number - Number : Engine - Engine . Size Figure 2 i) Complete the trace table (Table 2) for the input data 1.8. 2.0. 1.0. 1.3. 1.0. 25. 2.0. 1.3. 1.8.13 Table 2 (2 marks) Engine Count Number Su Average OUTPUT ii) Based on flowchart given, write a C program to calculate average engines size and number of engines with size > 1.5 (2 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

ISBN: 0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

What is the orientation toward time?

Answered: 1 week ago

Question

4. How is culture a contested site?

Answered: 1 week ago