Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 01: Write an algorithm and draw a flowchart to find bigger number among two numbers. Algorithm Flowchart Exercise 02: Write an algorithm and

image text in transcribedimage text in transcribed

Exercise 01: Write an algorithm and draw a flowchart to find bigger number among two numbers. Algorithm Flowchart Exercise 02: Write an algorithm and a flowchart to find sum of n numbers. Algorithm Flowchart Exercise 03: Write an algorithm and draw a flow chart to find factorial of any number. Algorithm Flowchart From the flowing qustion 1-8, select 4 questions and answer them: 1. Write an algorithm to sum 5 numbers. Trace the algorithm using the numbers 1, 3, 5, 7 and 9. 2. Write an algorithm to compute the average of 5 numbers. Trace the algorithm using the numbers 1, 3, 5, 7 and 9. 3. Write an algorithm to multiply 3 numbers. Trace the algorithm using the numbers 2, 9 and 6. 4. Write an algorithm to multiply 2 numbers and divide the product by a third number. Trace the algorithm using the numbers 2, 9 and 6. 5. Write an algorithm to calculate the average mark out of 100, given three assignment marks, each of which is marked out of 20. Trace the algorithm using 15, 20 and 10 as the three assignment marks. 6. Write an algorithm to calculate the sum of the digits of a three digit number. Trace the algorithm using the number 659. 7. Write an algorithm to swap two numbers. Trace the algorithm using x as 8 and y as 9. 8. Write an algorithm to sum four numbers and return the sum in the variable x. Trace the algorithm using was 2, x as 3, y as 4 and z as 5.

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

Data Communications and Networking

Authors: Behrouz A. Forouzan

5th edition

73376221, 978-0073376226

More Books

Students also viewed these Computer Network questions

Question

introduce the concept of sport experience design

Answered: 1 week ago

Question

How do we make our writing natural?

Answered: 1 week ago