Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- struct RR
- {
- float f;
- int n;
- }R3, R4;
- int n1;
- RR R1, R2, R[12];
- ///////////////////////////////////////////////
- int main()
- {
- R4.f = 4.12;
- R4.n = 117;
- }
- /*
- #include<stdio.h>
- int n = 100;
- ///////////////////////////////////////////////
- int main()
- {
- printf("%d\n", n%7); // switch
- printf("%d", n/7); // Кол-во групп * 5845
- }
- */
- /*
- #include<stdio.h>
- //#include<iostream>
- //using namespace std;
- void def (float *nArr_1);
- ///////////////////////////////////////////////
- int main()
- {
- float nArr_1[10] = {1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9};
- def(nArr_1);
- return 0;
- }
- /////////////////////////////////////////////////////////////////////
- void def (float *nArr_1)
- {
- for (int i=0; i<10; i++)
- {
- printf("%.1f\n", nArr_1[i]);
- }
- printf("%.1f\n", nArr_1[4]);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement