Assignment No. 3 - Visual Programming - BS CS 5th Feb 23 - Govt. Graduate College, Sadiqabad
Make functions for the following tasks: -
1. Sum of two numbers
2. Sum of three numbers
3. Difference (Subtraction) of two numbers
4. Product (Multiplication) of two numbers
5. Product (Multiplication) of three numbers
6. Division of two numbers
7. Function to Calculate square of sum of two numbers... square of (a+b)
Function 1 will be without parameters and without return value
Function 2 will be with parameters and without return value
Function 3, 4, 5 & 6 will be with parameters and with return value
Function 7 will be with parameters and with return value
Call every function at least three times.
Comments
Post a Comment