SHARE
TWEET

Untitled

a guest Jun 17th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. struct student{
  3.     int roll;
  4.     char name[30];
  5.     float gpa;
  6. };
  7.  
  8. int main()
  9. {
  10.     struct student S[185];
  11.     int i;
  12.     for(i = 0 ; i < 180 ; i++){
  13.         scanf("%d",&S[i].roll);
  14.         scanf("%s",&S[i].name);
  15.         scanf("%lf",&S[i].gpa);
  16.     }
  17.  
  18.     return 0;
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top