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