Monday, 24 June 2019

Program to print first 1000 number

Program to print first 1000 number

Input:-





Output:- 





Code :-

#include <stdio.h>

int main()
{
  int c=1;


  while (c <= 1000)


  {
    printf("%d ", c);
    c++;
  }

  return 0;
}



































































































































0 Comments:

Post a Comment

Codecademy Code Foundations

Popular Posts

Categories

Android (23) AngularJS (1) Assembly Language (2) Books (11) C (75) C# (12) C++ (81) Course (3) Data Science (1) Data Strucures (4) Downloads (1) Engineering (13) flutter (1) FPL (17) Hadoop (1) HTML&CSS (40) IS (25) Java (89) Leet Code (4) Pandas (2) PHP (20) Projects (19) Python (435) R (69) Selenium Webdriver (2) Software (14) SQL (27)