7/15/2013

DCT 2112 Programming Practical. Flowchart Exercise

Write an algorithm  for a program that reads an unspecified number of integers, determines how many positive and negative values have been read, and computes the total and average of the input values, not counting zeros. Your program ends with the input 0. Display the average as a floating-point number. (For example, if you entered 1, 2, and 0, the average should be 1.5.)


*Flowchart di atas masih lagi belum memenuhi  kehendak soalan supaya cetak "average" bagi semua nilai yang di masukkan.

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.  ...