Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #pragma warning (disable:4996)
- int main(void)
- {
- int i, hap = 0;
- for (i = 1; i <= 100; i++)
- {
- hap = hap + i;
- }
- printf("1에서 100까지의 함 : %d\n", hap);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment