C++ Code
1
2 3 4 5 6 7 8 9 |
|
#include<stdio.h>
int main() { printf( "hello world\n"); return 0; } |
C++ Code
1
2 3 4 5 6 7 8 9 |
#include
<stdio.h> int main() { printf( "hello world\n" ); return 0 ; } |
C++ Code
1
2 3 4 5 6 7 8 9 |
#include<stdio.h>
int main() { printf( "hello world\n"); return 0; } |
- #include "stdio.h"
- int main()
- {int i,j,result;
- for (i=1;i<10;i++)
- { for(j=1;j<10;j++)
- { result=i*j;
- printf("%d*%d=%-3d",i,j,result);/*-3d表示左对齐,占3位*/}