[ create a new paste ] login | about

Link: http://codepad.org/LgfnerjK    [ raw code | output | fork | 1 comment ]

C, pasted on Sep 6:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include<stdio.h>
#include<conio.h>

int main()
{
	char kytu;
	for(kytu = 'A'; kytu <= 'Z'; kytu++)
	{
		printf("%4c", kytu);
	}
	getch();
	return 0;
}


Output:
1
Line 17: error: conio.h: No such file or directory


Create a new paste based on this one


Comments:
posted by yonnon on Jul 12
#include<bits/stdc++.h>

using namespace std;
int main(){
for(char i='A'; i<='Z'; ++i){
cout<<" "<<i;
}
return 0;
}
reply