Q4: Declare a data structure marks t, which contains the following type int members: • int attendance //0 to 5 int active //0 to 5 int quiz 1 int quiz 2 //0 to 5 //0 to 5 int midExam //0 to 20 int finalExam //0 to 60

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section: Chapter Questions
Problem 2PP
icon
Related questions
Question
Q4: Declare a data structure marks_t, which contains the following type int members:
int attendance //0 to 5
int active
//0 to 5
int quiz 1
//0 to 5
int quiz_2
//0 to 5
int midExam
//0 to 20
int finalExam
//0 to 60
Transcribed Image Text:Q4: Declare a data structure marks_t, which contains the following type int members: int attendance //0 to 5 int active //0 to 5 int quiz 1 //0 to 5 int quiz_2 //0 to 5 int midExam //0 to 20 int finalExam //0 to 60
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT