Adm1n_0v3rride

while loop in C

Dec 26th, 2017
153
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Simple while loop in C (C) 2017 by Adm1n_0v3rride*/
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4.  
  5. int main() {
  6.    
  7.     int x;
  8.    
  9.     x = 0;
  10.    
  11.     while(x < 20) {
  12.         printf("Hello,world!");
  13.         x=x+1;
  14.     }
  15.     return 0;
  16. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×