BS (computer science)
programming issues by zeeshan..!!
Pages
home
c++ programs
Softwares
Books
Articles
Wednesday, 20 February 2013
A program to declare an array and printing value that are added in array
#include<iostream.h>
using namespace std;
main( )
{
float a[4];
a[0]=9.7;
a[1]=12.5;
a[2]=1.9;
a[3]=2.1;
for(i=0;i<=3;i++)
cout<<a[i]<<endl;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment