5/14/2014

FEP 1023 Intro. to Programming. LAB SHEET 2

OBJECTIVE: To give practice writing C program that implements the repetition structures.

TASK

Draw a flowchart and write a program that asks user to enter twenty integers and display the sum of these integers. The solution must be provided in three different structures (for, while, do-while).
  
Flowchart A - Condition is tested before proceed to body of loop
Code A -Follows a logic of Flowchart A



Flowchart B - the condition is at the bottom of loop

Code B -Follows a logic of Flowchart B
*Please complete the  flowchart and a program for a "for structure".



No comments:

Cara download Installer windows 10 dalam format ISO

1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan.  ...