I want to take this in function, what to do??
#include<iostream>
using namespace std;
#include<iomanip>
int main()
{
int ctr,num,c;
int fahrenheit[10];
cout<<"Enter Value: ";
cin>>num;
cout<<endl;
ctr=0;
do{
cout<<"Enter fahrenheit ";
cin>>fahrenheit[ctr];
ctr++;
}
while(ctr<num)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.