#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float len,bre,area;
clrscr();
printf("\n\n\t\tEnter the length of the rectangle=\t");
scanf("%d",&len);
printf("\n\n\t\tEnter the breadth of the rectangle=\t");
scanf("%d",&bre);
printf("\n\n\t\tArea of the rectangle=\t%3f",area=l*b);
getch();
}
To write a C++ program to display the student details using class and array of object.
If you are using an array : sort using qsort() then take middle element.
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
You can write a C++ fib pro using arrays but the problem is the prog becomes very complicated since u need to pass the next adding value in an array.....
Use the Array Package. if you need help - add me on msn james_mc_123@hot dkjdkdjd mail.comp
To write a C++ program to display the student details using class and array of object.
If you are using an array : sort using qsort() then take middle element.
write an assembly language program to find sum of N numbers
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
You can write a C++ fib pro using arrays but the problem is the prog becomes very complicated since u need to pass the next adding value in an array.....
public static int[] reverseArray(int[] array) { int i = 0, j = array.length - 1; for (i = 0; i < array.length / 2; i++, j--) { int temp = array[i]; array[i] = array[j]; array[j] = temp; } return array; }
A program which is used to count the number of numbers in an array using a 8085 microprocessor is known as a assembly language program.
There will be a function in it like this: double RectangleArea (double a, double b) { return a*b; }
system.exit o
Use the Array Package. if you need help - add me on msn james_mc_123@hot dkjdkdjd mail.comp
// Assuming you dynamically allocated this array using "new"... delete array[arraysize - 1]; arraysize--;
the example of array over charcter variables is char ["string"]