Develop
2003.04.23 09:49
[c++] p.47 연습문제 3번
조회 수 10150 댓글 0
#include<iostream.h>
int main()
{
int x, y, i, result=1;
cout << "Enter a first Number : ";
cin >> x;
cout << "Enter a second Number : ";
cin >> y;
for(i=0 ; i<y ; i++)
{
result *= x;
}
cout << x << "^" << y << " is " << result;
return 0;
}
-
[c++] mfc로 만든 현재 디렉토리 읽어오기/세팅하기 (GetCurrentDirectory/SetCurrentDirectory)
-
[c++] mfc에서 윈도우 항상 위 속성 주기..
-
[c++] mfc이용한 트레이아이콘(TrayIcon) 클래스 예제 프로젝트
-
[c++] namespace 사용 예
-
[c++] p.118 확인학습 5번
-
[c++] p.47 연습문제 3번
-
[c++] p.58 연습문제 2번
-
[c++] RSA Sample 4 CPP
-
[c++] SetWindowPos함수를 이용한 크기조절 예제
-
[c++] String Tokenizer (나중에 c 코드로 변경해서 사용할 것)
-
[c++] template 사용예
-
[c++] Win32 API 기본 출력인 MessageBox() 함수 사용 예제..