asked
[MMORPG Game Development Series with C# and Unity] Part 1: Introduction to Basic C# Programming
Practice Problems
Written on
·
233
0
정말 별건 아닌데 제가 워낙 기초가 없어서 질문드립니다..
팩토리얼 함수 짜실 때 *=가 무슨 뜻인가요?ㅠ
for (int num = 1; num <= n; num++)
{
ret *= num;
}
Answer 1
ret *= num;은ret = ret * num; 과 동일한 의미입니다!