Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 76 bottles of beer on the wall, 76 bottles of beer. Take one down and pass it around - 75 bottles of beer on the wall.
- 100-76 74-67 65 63 62 29 28 25 24 19 8 7 2
- 75 bottles of beer on the wall, 75 bottles of beer. Nut ichmedibeikechee baccerda issy da - 74 bottles of beer on the wall.
- 75
- 66 bottles of beer on the wall, 66 bottles of beer. Take one down - pass it around - 65 bottles of beer on the wall.
- 66
- 64 bottles of beer on the wall, 64 bottles of beer. 63 bottles of beer on the wall.
- 64 51 45 34 14 4
- 61 bottles of beer on the wall, 61 bottles of beer. If one of those bottles should happen to fall - 60 bottles of beer on the wall.
- 61-52 50-46 44-39 37-35 33-30 27 26 23-20 18-15 13-9 5 3
- 38 bottles of beer on the wall, 38 bottles of beer. Are you still here?? - 37 bottles of beer on the wall.
- 38
- 6 bottles of beer on the wall, 6 bottles of beer. Move along - There's nothing to see here - 5 bottles of beer on the wall.
- 6
- 1 bottle of beer on the wall, 1 bottle of beer!!!! Take it down and pass it around - NO MORE bottles of beer on the wall!!"
- 1
- FILE *fp;
- int line4[50] = {64,51,45,34,14,4};
- n=65
- i=65
- fp = fopen("fuck.txt","w");
- scanf("%d", &n);
- for(i=n; i>=1; i--) {
- for(j=0; j<6; j++) {
- if(line1[j] == i) {
- printf("%d bottles of beer on the wall, %d bottles of beer. Take one down and pass it around - %d bottles of beer on the wall.",i,i,i-1);
- fprintf(fp,"%d bottles of beer on the wall, %d bottles of beer. Take one down and pass it around - %d bottles of beer on the wall.",i,i,i-1);
- }
- }
- for(j=0; j<30; j++) {
- if(line2[j] == i) {
- }
- }
- for(j=0; j<30; j++) {
- if(line3[j] == i) {
- }
- }
- for(j=0; j<30; j++) {
- if(line4[j] == i) {
- }
- }
- for(j=0; j<30; j++) {
- if(line5[j] == i) {
- }
- }
- }
- fclose(fp);
- return 0;
Add Comment
Please, Sign In to add comment