Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- int i;
- int zasekiNo[] = {1,5,8,10,15,16,20,22,25,30};
- float xZahyo[] = {1.1, 3.4, 4.5, 2.3, 6.4, 7.6, 5.2, 1.7, 3.8, 5.8};
- float yZahyo[] = {5.2, 1.6, 3.4, 2.6, 5.7, 7.8, 4.4, 3.5, 6.3, 6.3};
- printf("座席No X座標 Y座標\n");
- for(i=0;i<10;i++) printf("%4d %2.1f %2.1f\n",zasekiNo[i],xZahyo[i],yZahyo[i]);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement