[CS50] Week2: 컴파일링, 디버깅, 배열, 문자열, Command-Line Arguments, Exit Status, Cryptography, 2주차 과제
(1) Scrabble In the game of Scrabble, players create words to score points, and the number of points is the sum of the point values of each letter in the word. For example, if we wanted to score the word “CODE”, we would note that the ‘C’ is worth 3 points, the ‘O’ is worth 1 point, the ‘D’ is worth 2 points, and the ‘E’ is worth 1 point. Summing these, we get that “CODE” is worth 7 points. In a..
더보기
[CS50] Week 1: 데이터 타입, 연산자, 조건문, 반복문, 커맨드라인(CLI), 1주차 과제
Problem set 1 (1) Hello, world In a file called hello.c, in a folder called world, implement a program in C that prints hello, world\n, and that’s it! (2) Hello, it's me In a file called hello.c, in a folder called me, implement a program in C that prompts the user for their name and then says hello to that user. For instance, if the user’s name is Adele, your program should print hello, Adele\n..
더보기