Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(void)
- {
- int c;
- float f=0;
- c=10;
- while(c<=100)
- {
- f=(9.0*c)/5.0+32.0;
- printf("%d度c :%.2f度F \n",c,f);
- c=c+10;
- }
- printf("============================\n");
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement