Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int a;
- for (a=65;a<=90;a++)
- {
- cout<<a<<" "<<char(a)<<endl;
- };
- /*
- int a,n,k;
- k = 1;
- a = 1;
- cin>>n;
- for (k=1; k<=n; k++)
- {
- for (a=1;a<=k;a++)
- cout<<"*";
- cout<<endl;
- }
- int a,n,k,m;
- cin>>n;
- cin>>m;
- for (a=1;a<=m;a++)
- {
- for (k=1;k<=n;k++)
- cout<<"*";
- cout<<endl;
- int i,n,j;
- cin>>n;
- for (i=n; i>=1; i--)
- {
- for (j=i;j>=1;j--)
- cout<<"*";
- cout<<endl;
- }
- */
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement