1. Write a program that will allow a student to calculate his/her test average of four test scores. Generate a display of the student's name, course name, individual test scores, and test average. Sample run: Enter your name: Rami Khalil Enter your course name: CSCI250 Enter your text scorel: 77 Enter your text score2: 88 Enter your text score3: 66 Enter your text score4: 90 Your average Rami Khalil in the course CSC1250 for the following scores 77 88 66 90 is 80.25
1. Write a program that will allow a student to calculate his/her test average of four test scores. Generate a display of the student's name, course name, individual test scores, and test average. Sample run: Enter your name: Rami Khalil Enter your course name: CSCI250 Enter your text scorel: 77 Enter your text score2: 88 Enter your text score3: 66 Enter your text score4: 90 Your average Rami Khalil in the course CSC1250 for the following scores 77 88 66 90 is 80.25
Chapter6: Using Arrays
Section: Chapter Questions
Problem 5E
Related questions
Question
Please answer with java 1 (CSCI250)
![CSC1250 - Assignment 1.do...
->
Lebanese International University
CSCI 250 – Introduction to programming
Assignment 1
1. Write a program that will allow a student to calculate his/her test average of four test scores.
Generate a display of the student's name, course name, individual test scores, and test
average.
Sample run:
Enter your name: Rami Khalil
Enter your course name: CSCI250
Enter your text scorel: 77
Enter your text score2: 88
Enter your text score3: 66
Enter your text score4: 90
Your
average Rami Khalil in the course
CSCI250
for
the
following scores 77 88 66 90 is 80.25
2. Write a program that helps the user count his change. The program should ask how many
quarters the user has, how many dimes, how many nickels, then how many pennies.
Then the program should tell the user how much money he has, expressed in dollars. Since
one quarter is worth 0.25 dollars, a dime is worth 0.10 dollars, a nickel is 0.05 dollars, and a
penny is 0.01 dollars.
Sample run:
Enter the number of quarters: 5
Enter the number of dimes:
Enter the number of nickels:
Enter the number of pennies:
You have $2.05](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5481c405-2270-45cb-a0cb-4ed07592d08c%2Fd1ac0f8b-3da0-4b90-bde9-3337e211f962%2F778f44n_processed.jpeg&w=3840&q=75)
Transcribed Image Text:CSC1250 - Assignment 1.do...
->
Lebanese International University
CSCI 250 – Introduction to programming
Assignment 1
1. Write a program that will allow a student to calculate his/her test average of four test scores.
Generate a display of the student's name, course name, individual test scores, and test
average.
Sample run:
Enter your name: Rami Khalil
Enter your course name: CSCI250
Enter your text scorel: 77
Enter your text score2: 88
Enter your text score3: 66
Enter your text score4: 90
Your
average Rami Khalil in the course
CSCI250
for
the
following scores 77 88 66 90 is 80.25
2. Write a program that helps the user count his change. The program should ask how many
quarters the user has, how many dimes, how many nickels, then how many pennies.
Then the program should tell the user how much money he has, expressed in dollars. Since
one quarter is worth 0.25 dollars, a dime is worth 0.10 dollars, a nickel is 0.05 dollars, and a
penny is 0.01 dollars.
Sample run:
Enter the number of quarters: 5
Enter the number of dimes:
Enter the number of nickels:
Enter the number of pennies:
You have $2.05
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage