subject
Computers and Technology, 16.04.2020 02:58 mona92

*Notice: I can only edit the part where it says in /* Your solution goes here */ the other part of the code i can't touch it please the solution should be inside that part ad using the code providedQuestion 1Define a function SetTime, with int parameters hoursVal and minutesVal, that returns a struct of type TimeHrMin. The function should assign TimeHrMin's data member hours with hoursVal and minutes with minutesVal.#include typedef struct TimeHrMin_struct {int hours;int minutes;} TimeHrMin;/* Your solution goes here */int main(void) {TimeHrMin studentLateness;int hours;int minutes;scanf("%d %d", &hours, &minutes);studentLateness = SetTime(hours, minutes);printf("The student is %d hours and %d minutes late.\n", studentLateness. hours, studentLateness. minutes);return 0;}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Do you think media is stereotype ? and why?
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
5.a fishing rod is formed from a composite material of 0.5 kg of glass fibers embedded in a matrix of 0.5 kg of epoxy resin. the glass fibers are assumed to be long, continuous and unidirectional. to achieve a greater stiffness it is proposed to use a different composite that is comprised of long continuous carbon fibers that will be embedded in a matrix of 0.5 kg of epoxy resin. if the modulus of elasticity of the carbon fiber composite is 10% greater than the elastic modulus of the glass fiber composite, estimate the mass of carbon fibers that will be used to make the carbon fiber composite. assume the applied tensile stress is parallel to the direction of the long axis of the fibers. the epoxy resin, glass fiber, and carbon fiber have an elastic modulus of 5, 86, and 350 gpa respectively and a density of 1100, 2500, and 1800 respectively.
Answers: 3
You know the right answer?
*Notice: I can only edit the part where it says in /* Your solution goes here */ the other part of t...
Questions
question
History, 20.09.2020 15:01