discussion & conclusion

2
Discussion In this activity 3a, we have learned to compile a program about calculations of a circle. In activity 3b we have learned to compile a program to find the total of two numbers. In the exercises given by our lecturer, we have learned to compile a program to calculate the average score of three subjects given.In exercise 3 , we have learned to compile a program to calculate current by inputting voltage and resistance.

Upload: arvinthran-thennarayasu-krishnan

Post on 17-Nov-2015

217 views

Category:

Documents


0 download

DESCRIPTION

programming lab

TRANSCRIPT

DiscussionIn this activity 3a, we have learned to compile a program about calculations of a circle. In activity 3b we have learned to compile a program to find the total of two numbers. In the exercises given by our lecturer, we have learned to compile a program to calculate the average score of three subjects given.In exercise 3 , we have learned to compile a program to calculate current by inputting voltage and resistance.

ConclusionIn the end of this experiment , we have learned to construct programs that use simple IF statements.Besides that, we have also learned to implement mathematical calculations in simple C program.Moreover we have also learned to implement mathematical calculations using the function in the main function. We have also learned to master C programming after doing this lab activity. We have also learn on to construct programs that use simple IF-ELSE statements.