This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fast Campus 안드로이드 앱 개발 입문 | |
* Java for Android (by mindwing) | |
* [1일차] 강의노트 - 변수, 연산자, 선택문, 반복문 | |
* 필수 예제1 | |
*/ | |
public class D1_HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("안녕 세상"); | |
System.out.print("제 이름은 임준세 입니다"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, char* argv[]) | |
{ | |
int sum = 0; | |
for( int i = 1 ; i <= 100 ; i ++ ){ | |
sum = sum + i; | |
} | |
printf("1 to 100 sum = %d\n"); | |
} |