Unformatted text preview: The mean of the marks is 51 The standard deviation is 20.7966 2. Given a 3-digit number, write a program to find the sum of the 3 digits. Sample run of the program: c:>sumdigits Enter a 3-digit number: 276 The sum of the 3 digits is 15. Notice: 1: Marks distribution: Q1: 40%, Q2: 40%, Style: 20%. 2: Please just hand in source code file (.cpp). The filename of Q1: “assignmentOneA.cpp” and The filename of Q2: “assignmentOneB.cpp”. 3: The statement “system ("PAUSE")” should be removed....
View Full Document
- Spring '11
- Standard Deviation, Computer program, Department of Computer Science The University of Hong Kong