Description

COS1511 Assignment 2 2024 (735127) 13 May 2024 {Complete Answers and Codes provided for Questions 1 to 7}

All Solutions and Codes are complete in accordance to the questions provided

 

Question 1

Write function headers for the functions described below:

(i) The function check has two parameters. The first parameter should be an integer number and the second parameter a floating point number. The function returns no value.

(ii) The function mult has two floating point numbers as parameters and returns the result of multiplying them.

(iii) The function time inputs seconds, minutes and hours and returns them as parameters to its calling function.

(iv) The function countChar returns the number of occurrences of a character in a string, both provided as parameters

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Description

COS1511 Assignment 2 2024 (735127) 13 May 2024 {Complete Answers and Codes provided for Questions 1 to 7}

All Solutions and Codes are complete in accordance to the questions provided

 

Question 1

Write function headers for the functions described below:

(i) The function check has two parameters. The first parameter should be an integer number and the second parameter a floating point number. The function returns no value.

(ii) The function mult has two floating point numbers as parameters and returns the result of multiplying them.

(iii) The function time inputs seconds, minutes and hours and returns them as parameters to its calling function.

(iv) The function countChar returns the number of occurrences of a character in a string, both provided as parameters

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

24
    24
    Your Shopping Cart
    MNO3704 Assignment 4 Semester 2 Memo | Due 17 September 2025
    R100.00
    PVL3702 Assignment 1 Semester 2 Memo | Due 26 August 2025
    R50.00
    MNG2601 Assignment 3 (Quiz) Semester 1 Memo | Due 25 April 2025
    R100.00
    ENG1514 October/November 2024 | Due 18 October 2024
    ENG1514 October/November 2024 | Due 18 October 2024
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    MNG3701 Assignment 1 and 2 Semester 2 2024
    R120.00
    GCS1501 Assignment 3 Memo | Due 30 July 2025
    GCS1501 Assignment 3 Memo | Due 30 July 2025
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    PYC2602 (Child and Adolescent Development) Exam Pack
    R65.00
     IOP3707 - Notes on the Prescribed Book and Assignment 2
    R90.00
    LAH3701 ASSIGNMENT 1 2025
    LAH3701 Assignment 1 2025 | 25 March 2025
    Seller:

    Unisian

    Price: R50.00
    R50.00
    LPL4802 Assignment 1
    LPL4802 Assignment 1 Semester 1 | Due 28 March 2025
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    PSE4801 Assignment 4 Memo | Due August 2025
    PSE4801 Assignment 4 Memo | Due August 2025
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    PYC2601-Summarised Notes
    PYC2601-Summarised Notes
    Seller:

    Aimark94

    Price: R60.00
    R60.00
    ESC3701 Assignment 1 Semester 1 | Due March 2025
    ESC3701 Assignment 1 Semester 1 | Due March 2025
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    PYC2602-Multiple Choice (Questions & Answers) [2023]
    R65.00
    ENG1504 Assignment 2 Semester 2 Memo | Due September 2025
    R50.00
    RCE2601 Assignment 2 Memo | Due 13 June 2025
    RCE2601 Assignment 2 Memo | Due 13 June 2025
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    EMA1501 Assignment 4 2024 | Due 20 August 2024
    EMA1501 Assignment 4 2024 | Due 20 August 2024
    Seller:

    Aimark94

    Price: R100.00
    R100.00
    CMY3709 Assignment 1 Semester 1 Memo | Due March 2025
    R100.00
    EST1501 Assignment 4 Due August 2024
    EST1501 Assignment 4 Due August 2024
    Seller:

    Unisian

    Price: R50.00
    R50.00
    ENG2611 Jan/Feb Supplementary Exam | Due 17 January 2025
    R100.00
    EDS4801 Assignment 5 Semester 1 Memo | Due 20 May 2025
    R100.00
    PLS1502 ASSIGNMENT 02 SOLUTIONS ,SEMESTER 1 , 2022(TO BE USED AS A GUIDELINE)
    R50.00
    COS3711 Assignment 1 2025 Complete Answers {2025}
    COS3711 Assignment 1 2025 Complete Answers {2025}
    Seller:

    Angerfist

    Price: R50.00
    R50.00