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

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 5E
icon
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
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
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Array
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage