Parameterized Functions
I want to say hi to Alice and Bob. But for now, at least, I’m going to be polite and not mention how old they are. How exactly do we write that function? Let’s first write a version that works for Alice. This code won’t compile; try to see if you can figure out why.
Get hands-on with 1400+ tech skills courses.