+ 2
Functions
I know that functions are groups of statements, but I don’t understand much else. If someone could help me, I would appreciate it. Thanks!
4 Respostas
+ 3
Basically programmers tried to implement DRY (Dont repeat yourself) That function ease us in making something that used in general.
0
Thanks
0
functions are instructions which let us use small word to do some repeated instructions. For exemple, we want to print to screen "Hello everyone!... " then print "how are you" its cool if we could use small magical word that print it wherever i use it and print it without writing it again and again. lets call this function Greeting, now when i write Greeting compute will print "hello everyone" etc...
0
Thanks Azeddine