C Programming • Introduction to Computer, Programming & algorithms
C Programming / Simple Problems — Exercises

Simple Problems — Exercises

Practical 1 Introduction to Computer, Programming & algorithms

Write an algorithm and flowchart to calculate the sum of two numbers.

Practical / Solution

Simple Problems — Exercise 1

Problem

Write an algorithm and flowchart to calculate the sum of two numbers.

Solution

This problem can be solved using the basic input → process → output approach.