New Member FAQ | Forums | Earn Revenue


Resources Entrance Ask Experts Exam Papers Jobs English Projects Universities Colleges Courses Schools Training My India



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



C++ program - Printing a sequence in Order


Posted Date:     Total Responses: 0    Posted By: K Dinesh Reddy   Member Level: Diamond   Points/Cash: 6   




//C++ program - Printing a sequence in Order
#include
using namespace std;

int main()
{
const int size = 5; // defines the size N for %5elements
double a[size]; // declares the array's elements as double
cout << "Enter " << size << " Numbers:\t";
for (int i = 0; i < size; i++)
cin >> a[i];
cout << "In reverse Order: ";
for (int i = size-1; i>=0; i--)
cout << "\t" << a[i];
cout << endl;
system ("pause");
return 0;
}





Note: In the program, After #include "iostream" tag is there...
But it is not seen as the post is considered as a HTML post...
So please don't forget this point...
The original file is uploaded as attachment...
Check that also...



With Regards,
ZORO
IIT Madras - CSE





Attachments

  • C++ program - Printing a sequence in Order (2106-31954-C++ program - Printing a sequence in Order.txt)

  • Project Feedbacks


    No feedbacks found. Be the first to respond and make money from revenue sharing program.

    Post Feedback
    You must Sign In to post a feedback.
    Next Project: C++ program - Demonstrates that default values can not be used in conjunction with Overloaded func.
    Previous Project: C++ program - To separate even and odd elements of an array

    Return to Project Index

    Post New Project


    Related Projects



    Advertise Here





    Contact Us   Advertise   Editors    Privacy Policy    Terms Of Use   

    ISC Technologies.
    2006 - 2009 All Rights Reserved.