Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Basic 1. Create a program that calculates the average of several numbers. The user will indicate how many numbers to average. 2. Modify exercise 1:
Basic 1. Create a program that calculates the average of several numbers. The user will indicate how many numbers to average. 2. Modify exercise 1: The user will not indicate how many numbers to average at the beginning. Now the user will keep entering numbers until he decides to not enter more. 3. Create a very simple program that gets names of students from the user, one by one, and prints those names. The user will indicate when to stop. Advanced: HINT for exercises 1 and 2: look at the basic exercises. Can you reuse anything? 1. Create a program that calculates the average of grades for a group of students: 1. Each Student will have the same number of grades for the average: 3 2. The number of students is not set from the beginning 3. For each Student the input shoud be the Student name and then all grades obtained 4. After each Student name + his grades were entered the program should print the name of the student together with the average he obtained. 2. Same as exercise 4, but this time each student might have a different number of grades. 3. The Fibonacci sequence starts 1, 1, 2, 3, 5, 8... Each number in the sequence (after the first two) is the sum of the previous two. Write a program that computes and outputs the nth Fibonacci number, where n is a value entered by the user
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started