#include<stdio.h>
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
int f=0,c,upper=300,step=20;
printf("\nFarenheit Celcius");
while (f<=upper)
{c=5*(f-32)/9;
printf("\n %d %d",f,c);
f=f+step;
}
line();
return 0;
}
#include<stdlib.h>
void line()
{
int i,j;
printf("\n");
for(i=1;i<=42;i++)
printf("=");
}
void header()
{
printf("\n");
printf("Built and Designed by Arslan Malik\n\n www.CworldbyAS.blogspot.com");
printf("\n");
}
int main()
{
line();
header();
line();
int f=0,c,upper=300,step=20;
printf("\nFarenheit Celcius");
while (f<=upper)
{c=5*(f-32)/9;
printf("\n %d %d",f,c);
f=f+step;
}
line();
return 0;
}
No comments:
Post a Comment