| Title | Open | |||
|---|---|---|---|---|
| 124 | Create and Print a PointA Point struct (with int fields x and y) is defined for you. | easy | Not started | Solve |
| 125 | Set a Struct FieldA Counter struct with an int field value is defined. | easy | Not started | Solve |
| 126 | Sum of Two Struct FieldsA Pair struct with int fields a and b is defined. | easy | Not started | Solve |
| 127 | Rectangle Area from StructA Rectangle struct with int fields width and height is defined. | easy | Not started | Solve |
| 128 | Rectangle Perimeter from StructA Rectangle struct with int fields width and height is defined. | easy | Not started | Solve |
| 129 | Student RecordA Student struct with a char array name and an int age is defined and initialized in main. | easy | Not started | Solve |
| 130 | Box VolumeA Box struct with int fields length, width, and height is defined. | easy | Not started | Solve |
| 131 | Modify a Struct FieldA Score struct with an int field points is defined and starts at 10. | easy | Not started | Solve |
| 132 | Compare Two Struct FieldsA Pair struct with int fields a and b is defined and initialized in main. | easy | Not started | Solve |
| 133 | Larger Struct FieldA Pair struct with int fields a and b is defined and initialized to {12, 4}. | easy | Not started | Solve |
| 134 | Average of Three FieldsA Triple struct with int fields a, b, and c is defined and initialized to {10, 20, 30}. | easy | Not started | Solve |
| 135 | Format a Time StructA Time struct with int fields hours and minutes is defined and initialized to {9, 5}. | easy | Not started | Solve |
| 136 | Copy a StructA Point struct (int x, y) is defined. | easy | Not started | Solve |
| 137 | Celsius Struct to FahrenheitA Temperature struct with an int field celsius is defined and initialized to {100}. | easy | Not started | Solve |
| 138 | Bank Account DepositAn Account struct with an int field balance is defined and starts at 100. | easy | Not started | Solve |
| 236 | Point Struct: Store and Print CoordinatesDefine a struct type named Point that has two integer fields, x and y. | easy | Not started | Solve |
| 237 | Rectangle Struct: Compute the AreaDefine a struct type named Rectangle with two integer fields, width and height. | easy | Not started | Solve |
| 238 | Student Struct: Name and GradeDefine a struct type named Student with a text field name (a char array) and an integer field grade. | easy | Not started | Solve |
| 239 | Point Struct: Sum of CoordinatesDefine a struct type named Point with integer fields x and y. | easy | Not started | Solve |
| 240 | Rectangle Struct: Compute the PerimeterDefine a struct type named Rectangle with integer fields width and height. | easy | Not started | Solve |
| 241 | Book Struct: Title and Page CountDefine a struct type named Book with a text field title (a char array) and an integer field pages. | easy | Not started | Solve |
| 242 | Circle Struct: Radius and DiameterDefine a struct type named Circle with a single integer field radius. | easy | Not started | Solve |
| 396 | Initialize a Struct with Designated InitializersA struct Point has int fields x and y. | easy | Not started | Solve |
| 397 | Define a Struct Type with typedefUse typedef to define a struct type named Rect that has two int fields, width and height. | easy | Not started | Solve |
| 398 | Store a Name in a StructA struct Person holds a char name[20] and an int age. | easy | Not started | Solve |
| 399 | Access a Field Through a PointerA struct Point with x = 7 and y = 2 exists, along with a pointer ptr to it. | easy | Not started | Solve |
| 400 | Size of a StructA struct Triple contains three int fields: a, b, and c. | easy | Not started | Solve |
| 401 | Reflect a Point Across the OriginA struct Point starts at x = 3, y = -5. | easy | Not started | Solve |
| 402 | Toggle a Flag FieldA struct Switch has an int field on that is currently 1. | easy | Not started | Solve |
| 403 | Age from Birth YearA struct Person stores a birthYear of 1990. | easy | Not started | Solve |
| 404 | Struct Assignment Copies ValuesIn C, assigning one struct to another copies all of its fields. | easy | Not started | Solve |
| 405 | Read a Field Through a const PointerA struct Point with x = 8 and y = 9 is pointed to by a const struct Point ptr, meaning you may read the struct but not modify it through the pointer. | easy | Not started | Solve |
| 406 | Print an Array of StructsAn array of three struct Point values holds {1,2}, {3,4}, and {5,6}. | easy | Not started | Solve |
| 407 | Zero-Initialize a StructA struct Point has three int fields: x, y, and z. | easy | Not started | Solve |
| 408 | First Initial of a NameA struct Person stores char name[20] set to "Grace". | easy | Not started | Solve |
| 139 | Read Into a StructA Point struct (int x, y) is defined. | medium | Not started | Solve |
| 140 | Function Returns a StructComplete the function makePoint so it builds and returns a Point from the two values it receives. | medium | Not started | Solve |
| 141 | Function Takes a StructComplete the function area so it returns the area of a Rectangle passed to it (width times height). | medium | Not started | Solve |
| 142 | Sum a Field Across an Array of StructsAn Item struct has an int field price. | medium | Not started | Solve |
| 143 | Highest Score in Array of StructsA Player struct has an int field score. | medium | Not started | Solve |
| 144 | Modify a Struct via PointerComplete the function birthday so it increases a Student's age by 1 THROUGH A POINTER (so the change is visible in main). | medium | Not started | Solve |
| 145 | Distance Between Two PointsA Point struct (int x, y) is defined. | medium | Not started | Solve |
| 243 | Rectangle Area with a FunctionDefine a struct type named Rectangle with integer fields width and height. | medium | Not started | Solve |
| 244 | Array of Students: List and AverageDefine a struct type named Student with a text field name and an integer field grade. | medium | Not started | Solve |
| 245 | Move a Point with a PointerDefine a struct type named Point with integer fields x and y. | medium | Not started | Solve |
| 409 | Count Passing StudentsAn array of five struct Student values holds the scores 55, 60, 72, 40, and 90. | medium | Not started | Solve |
| 410 | Swap Two StructsTwo points are given: a = {1, 2} and b = {3, 4}. | medium | Not started | Solve |
| 411 | Lowest Value in an Array of StructsAn array of four struct Item values holds the value fields 34, 12, 27, and 8. | medium | Not started | Solve |
| 412 | Check if Two Structs Are EqualRead four integers from standard input describing two points: a.x a.y b.x b.y. | medium | Not started | Solve |
| 413 | Midpoint of Two PointsTwo points are given: a = {2, 4} and b = {6, 8}. | medium | Not started | Solve |
| 414 | Add Two VectorsWrite a function add that takes two struct Vec values and returns a new struct Vec whose fields are the component-wise sums. | medium | Not started | Solve |
| 415 | Dot Product of Two VectorsTwo vectors are given: a = {1, 2} and b = {3, 4}. | medium | Not started | Solve |
| 416 | Total Cost of an OrderAn array of three struct Item values each has a price and a qty. | medium | Not started | Solve |
| 417 | Add Two Complex NumbersA struct Complex has integer fields re (real part) and im (imaginary part). | medium | Not started | Solve |
| 146 | Nested StructsAn Address struct (with a char array city and an int zip) is nested inside a Person struct (with a char array name and an Address field). | hard | Not started | Solve |
| 147 | Sort Structs by a FieldA Player struct has an int field score. | hard | Not started | Solve |
| 148 | Scale a Vector StructA Vector struct (int x, y) is defined. | hard | Not started | Solve |
| 418 | Simplify a FractionA struct Fraction holds num = 6 and den = 8. | hard | Not started | Solve |
| 419 | Two-Node Linked ListA struct Node holds an int value and a struct Node next pointer (a self-referential struct). | hard | Not started | Solve |
| 420 | Read Students and Print the Top ScorerFirst read an integer n from standard input, then read n lines, each with a student's name (a single word) and their integer score. | hard | Not started | Solve |