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.
Subscribe to:
Post Comments (Atom)
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. ...

-
Contoh soalan untuk test 1 adalah seperti berikut (soalan dan 'marking' bagi semester sebelum ini)
-
Latihan MS Word dengan elemen-elemen:- image, word art, table, shape dan word formatting (font,size,bold, italic,underline)
-
Section 8 The String Class 8.1 Suppose that s1 , s2 , s3 , and s4 are four strings, given as follows: String s1 = ...
No comments:
Post a Comment