Write ae program te compute the factorial of a number, and use it to print the factorials of the numbers 1-7. (Extra oredit print the factorials of the numbers 1-10.)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
i need the answer quickly
- - . at
41 1/2
PROTECT
SHARE
HELP
• By using function, write a complete program to read a real value representing
an angle in radians and compute the sine using the following
Serles: Sin x-x- x3/3! + xS/SI-x771 + x9/91 ... I5/1S1
• Write ae program te compute the factorial of a number, and use it to print
the factorials of the numbers 1-7. (Extra credit print the factorials of the
numbers 1-10.)
There is a school with four classrooms; the maximum number of students in
cach classroom is 30 students. Write a program to do the following:
- Input final marks of students. -Calculate average of cach classroom.
Calculate total average of school.
Remark: Number of students in cach classroom is not equal.
Write a C program that reads an array of 10 integers. The program finds the
sum of all non-ncgative elements of the array and the product of all negative
elements.
The program prints an output with an appropriate message. For example, if the
input is 24-45-1 2-3-401 the output should be: the sum of the non- negative
elements is 14 and the product of the negative elements is 48.
Imeertant Notes:
1 2/2
Transcribed Image Text:- - . at 41 1/2 PROTECT SHARE HELP • By using function, write a complete program to read a real value representing an angle in radians and compute the sine using the following Serles: Sin x-x- x3/3! + xS/SI-x771 + x9/91 ... I5/1S1 • Write ae program te compute the factorial of a number, and use it to print the factorials of the numbers 1-7. (Extra credit print the factorials of the numbers 1-10.) There is a school with four classrooms; the maximum number of students in cach classroom is 30 students. Write a program to do the following: - Input final marks of students. -Calculate average of cach classroom. Calculate total average of school. Remark: Number of students in cach classroom is not equal. Write a C program that reads an array of 10 integers. The program finds the sum of all non-ncgative elements of the array and the product of all negative elements. The program prints an output with an appropriate message. For example, if the input is 24-45-1 2-3-401 the output should be: the sum of the non- negative elements is 14 and the product of the negative elements is 48. Imeertant Notes: 1 2/2
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY