Thursday 18 July 2013



#include "stdafx.h"
#include "conio.h"
#include "stdio.h"
#include "iostream"

using namespace std;

void Number_1();
void Number_2();
void Number_3();
void Number_4();
void Number_5();

int _tmain(int argc, _TCHAR* argv[])
{
Number_1();
Number_2();
Number_3();
Number_4();
Number_5();
getch();

}
void Number_1()
{
int a;
float b;
cout<<"enter number1 in float"<<endl;
cin>>b;
a=b;
cout<<"a1="<<a<<endl;
}
void Number_2()
{
int a;
float b;
cout<<"enter numbe2 in float"<<endl;
cin>>b;
a=b;
cout<<"a2="<<a<<endl;
}
void Number_3()
{
int a;
float b;
cout<<"enter number3 in float"<<endl;
cin>>b;
a=b;
cout<<"a3="<<a<<endl;
}
void Number_4()
{
int a;
float b;
cout<<"enter number4 in float"<<endl;
cin>>b;
a=b;
cout<<"a4="<<a<<endl;
}
void Number_5()
{
int a;
float b;
cout<<"enter number5 in float"<<endl;
cin>>b;
a=b;
cout<<"a5="<<a<<endl;
}

0 comments :

Post a Comment