BCA's Programming

This is blog spot created for B.C.A students with a purpose to give help students in their basic ciruculum activites. One stop solution for all your program errors.I would like to share my knowledge for these students with view to make the studying more interesting and interactive.

  • Home
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

C++ Program .Write a program to display 1 to 5 number using while condition.

By Sachin January 22, 2014
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
i=1;
while(i<=5)
{
printf("\n %d",i);
i=i+1;
}
getch();
}
Email ThisBlogThis!Share to XShare to Facebook

Newer Post Older Post Home

Search

100% FREE Demat Account + Amazon Voucher 1000/- In 10 Minutes | Upstox

100% FREE Demat Account + Amazon Voucher 1000/- In 10 Minutes | Upstox
100% FREE Demat Account + Amazon Voucher 1000/- In 10 Minutes | Upstox

Blog Archive

  • ►  2019 (1)
    • ►  February (1)
  • ►  2017 (64)
    • ►  March (44)
    • ►  February (20)
  • ►  2016 (22)
    • ►  April (12)
    • ►  March (10)
  • ►  2015 (15)
    • ►  December (1)
    • ►  September (13)
    • ►  March (1)
  • ▼  2014 (84)
    • ►  September (5)
    • ►  July (2)
    • ►  May (15)
    • ►  March (5)
    • ►  February (11)
    • ▼  January (46)
      • C++ Program .Write a program to print following pa...
      • C++ Program .Write a program to argument & return ...
      • C++ Program .Write a program to function with no a...
      • C++ Program .Write a program to print one to ten (...
      • C++ Program .Write a program to determine sum of f...
      • C++ Program .Write a program to check given number...
      • C++ Program .Write a program to call by value para...
      • C++ Program .Write a program to call by reference.
      • C++ Program .Write a program to accept integer num...
      • C++ Program .Write a program to input an integer n...
      • C++ Program .Write a program to input integer numb...
      • C++ Program .Write a program to accept ineger numb...
      • C++ Program .Write a program to convert given char...
      • C++ Program .Write a program to case.
      • C++ Program .Write a program to cheack wether numb...
      • C++ Program .Write a program to cheack whether giv...
      • C++ Program .Write a program to accept a character...
      • C++ Program .Write a program to display 1 to 5 num...
      • C++ Program .Write a program to cheack greater num...
      • C++ Program .Write a program to display compound i...
      • C++ Program .Write a program to display average.
      • C++ Program .Write a program to cheack year is lea...
      • C++ Program .Write a program to cheack number is p...
      • C++ Program .Write a program to cheack number is e...
      • C++ Program .Write a program to cheack given chara...
      • C++ Program .Write a program to cheack number is p...
      • C++ Program .Write a program to cheack number is e...
      • C++ Program .Write a program to display area of sq...
      • C++ Program .Write a program to display area of re...
      • C++ Program .Write a program display area of circal.
      • C++ Program .Write a program addition of two number.
      • C++ Program .Write a program swap (exchange ) two ...
      • C++ Program .Write a program to convert celcius to...
      • C++ Program .Write a program to accept two values ...
      • C++ Program .Write a program to accept two values ...
      • C++ Program. Write a program to accept two values ...
      • C++ Program. Write a program to accept two values ...
      • C++ Program. Write a program to display subtractio...
      • C++ Program. Write a program to display area of re...
      • C++ Program. Write a program to display area of ci...
      • C++ Program. Write a program to accept two numbers...
      • C++ Program. Write a program to accept two numbers...
      • C++ Program. Write a program to accept year & chec...
      • C++ Program WAP to input an array & display it's r...
      • C++ Program write a program to access array & disp...
      • C++ Program write a program to access array & disp...
  • ►  2013 (3)
    • ►  November (3)

Popular Posts

  • Create a form to accept employee details like name, address and mobile number. Once the employee information is accepted, then accept LIC information like policy_no, name, premium. Display employee details and LIC details on next form.(use COOKIE)
    Emp.html <html> <body> <form method="POST" action="Lic.php"> Enter EMP No : <input ty...
  • Write a java program to accept n name of cities & Sort them descending order.
    class SortCity {             public static void main(String arg[])             {                         String name[]=new Stri...
  • Write a program, which accepts a number n and displays each digit in words. Example: 6702 Output = Six-Seven-Zero-Two.
    #include<stdio.h> #include<conio.h> main() { int num,rem=0,digit; clrscr(); printf("Enter number="...
  • Program to accept Book details of ‘n’ books as book_title, author, publisher and cost. Assign the accession number to each book in increasing order Display these details as
    Program to accept Book details of ‘n’ books as book_title, author,   publisher and cost. Assign the accession number to each book in incre...
  • Define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume. (Use define())
    <?php                         interface Cyl         {                         function area();                         functi...

Categories

  • BCA Sem VI Advance Java Slips Solution
  • Ebooks
  • FYBCA ( Sem–II) Assignment No.2 Decision making and looping.(solved assignment)
  • FYBCA ( Sem–II) Assignment No.3 using function.(solved assignment)
  • FYBCA ( Sem–II) Assignment No.4 Array program.(solved assignment)
  • INFORMATION ABOUT TALLY.ERP 9
  • RDBMS Assignment
  • RDBMS ASSIGNMENT
  • TYBCA (Sem IV) Java Programs
  • TYBCA (Sem VI) Adv Java Programs
  • TYBCA PHP Assignment

Copyright © BCA's Programming
Back to Top