Guest User

Untitled

a guest
May 21st, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3.  
  4. void wyslij_sms(char *odbiorca, char *tresc)
  5. {
  6. static int licznik_sms;
  7. licznik_sms++;
  8. printf("licznik_sms = %d\n", licznik_sms);
  9.  
  10. }
  11.  
  12. int main()
  13. {
  14.  
  15. float koszt;
  16. float cena =0.29;
  17. wyslij_sms("kolejny_idiota_z_listy", "Super wiesci! Nie wybrales 1, ale E*A & H*YAH daja Ci nowa szanse wygrania miliona zl!...");
  18. wyslij_sms("kolejny_idiota_z_listy", "Super wiesci! Nie wybrales 1, ale E*A & H*YAH daja Ci nowa szanse wygrania miliona zl!...");
  19. wyslij_sms("kolejny_idiota_z_listy", "Super wiesci! Nie wybrales 1, ale E*A & H*YAH daja Ci nowa szanse wygrania miliona zl!...");
  20.  
  21. koszt =licznik_sms*cena;
  22. printf("sms kosztowaly %.2f zloty",koszt);
  23. return 0;
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. /*
  34.  
  35.  
  36.  
  37.  
  38. int main()
  39. {
  40. int i;
  41. char t[100000000]; //takich stosów nie mieli nawet w œredniowieczu
  42. for(i=0;i< t ; i++)
  43. {
  44. printf("%d udalo siê!\n",t[i]);
  45. }
  46.  
  47. return 0;
  48. }
  49.  
  50. */
Advertisement
Add Comment
Please, Sign In to add comment