Write a program that declares a function accepting two parameters. The first parameter is floating point number and second number is an integer. The program should multiply the floating point number by itself the number of times indicated by the integer. The function should return the result to the main function. The main function should ask the user for the floating point number and integer.It should...
Friday, 3 June 2016
Write a program that calls two functions Draw_Horizontal and Draw_Vertical to construct a rectangle.
#include<iostream.h>
#include<conio.h>
void Draw_Horizontal();
void Draw_Vertical();
void main()
{
clrscr();
cout<<"Rectangle : "<<endl;
Draw_Horizontal();
Draw_Vertical();
Draw_Horizontal();
getch();
}
void...