papavhenz1017
Honorary Poster
- Joined
- Dec 19, 2015
- Posts
- 143
- Reaction
- 20
- Points
- 170
- Age
- 31
Patulong naman po sa Coding:
1. Write a program that computes student’s average
2. Use a function with 4 parameters (Name, Math, English and Science Grade)
3. Save the file as module (use any name)
4. Import the module to your main program
5. Reference the module’s function 3 times with different values
Output:
John’s grade (Math=?, Science=?, English=?) and the average is ?
Ana’s grade (Math=?, Science=?, English=?) and the average is ?
Frank’s grade (Math=?, Science=?, English=?) and the average is ?
SSalamat po.
1. Write a program that computes student’s average
2. Use a function with 4 parameters (Name, Math, English and Science Grade)
3. Save the file as module (use any name)
4. Import the module to your main program
5. Reference the module’s function 3 times with different values
Output:
John’s grade (Math=?, Science=?, English=?) and the average is ?
Ana’s grade (Math=?, Science=?, English=?) and the average is ?
Frank’s grade (Math=?, Science=?, English=?) and the average is ?
SSalamat po.