![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 28.06.2019 18:30 saharB
Convert activity3.c below to a multi-file c program with 3 files: activity3.c, mymath. h, and mymath. c. give the gcc command to build the new program. don’t forget the include guards! when you are done, copy each file to this document in the appropriate place.
/* activity 3 - create a header file */
#include
#define pi 3.14159
int square(int x) {
return x * x;
}int main() {
int radius;
double area;
printf("enter the radius: ");
scanf("%d", & radius);
area = pi * square(radius);
printf ("the area of a circle with radius %d is %.2f\n", radius, area);
return 0;
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 01:00
Why was it important for the date format to be standardized by the international organization for standardization
Answers: 1
You know the right answer?
Convert activity3.c below to a multi-file c program with 3 files: activity3.c, mymath. h, and mymat...
Questions
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 14.12.2019 02:31