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++] WinSock2.0 채팅 프로그램 ㅋㅋ
-
[c++] Window API(MFC) 오목 게임
-
[c++] Win32API를 이용한 ExitWindowsEx 사용한 예제코드
-
[c++] Win32 API 기본 출력인 MessageBox() 함수 사용 예제..
-
[c++] template 사용예
-
[c++] String Tokenizer (나중에 c 코드로 변경해서 사용할 것)
-
[c++] SetWindowPos함수를 이용한 크기조절 예제
-
[c++] RSA Sample 4 CPP
-
[c++] p.58 연습문제 2번
-
[c++] p.47 연습문제 3번
-
[c++] p.118 확인학습 5번
-
[c++] namespace 사용 예