COS 1512
University of South Africa
Hier vind je de beste samenvattingen om te slagen voor COS 1512. Er zijn o.a. samenvattingen, aantekeningen en oefenvragen beschikbaar.
Alle 3 resultaten
Sorteer op:
-
Tentamen (uitwerkingen)
COS 1512 ASSIGNMENT 2
-
---7september 20212021/2022A+
- Question 1 
Consider the following structure used to keep record of a meeting: 
struct Meeting 
{ 
string speaker; 
string topic; 
string venue; 
string date; 
} 
Turn the meeting struct into a class. The class should have member variables for 
all the values in the corresponding struct. Make all member variables private. 
Include public member functions for each of the following: 
 a default constructor that sets the string data members to blank strings; 
 member functions to set each of ...
-
$3.99 Meer Info
TestbanksNotesAssignmentsAndExampacksGuru
-
Tentamen (uitwerkingen)
COS 1512 ASSIGNMENT 1
-
---11september 20212021/2022A+
- Question 1 
INPUT: 
#include <iostream> 
using namespace std; 
void calcCharges(int daysInHospital, double dayRate, double mediCharges, double 
serviceCharges) 
{ 
 double totalCharges; 
 totalCharges = ((daysInHospital * dayRate) + mediCharges + serviceCharges); 
 (ios::fixed); 
 (ios::showpoint); 
 sion(2); 
 cout << "The Total Charges for hospital stay is: R" << totalCharges; 
 
} 
int main() 
{ 
 int daysInHospital; 
 double dayRate, mediCharges, serviceCharges; 
 char pa...
-
$3.99 Meer Info
TestbanksNotesAssignmentsAndExampacksGuru
-
Tentamen (uitwerkingen)
Tutorial Letter 101/0/2021 Introduction to Programming II COS1512 Year module School of Computing
-
---9mei 20212020/2021A
- This module introduces students to the design, implementation and evaluation of algorithmsbased, structured object-oriented computer programs, with the fundamentals of simple data 
structures, (including object-orientation). Students are equipped to think logically, creatively, and 
conceptually and to recognize the design rules, techniques, and components in order to 
compose and present a functional working program solution to a perceived computing problem 
of a client, for the applicatio...
-
$6.89 Meer Info
GradeProfessor