Determine the day of your next meeting from today

Assignment Help C/C++ Programming
Reference no: EM132373851

Selection Structures

Exercise #1: Design and implement a program (name it ProcessGrades) that reads from the user four integer values between 0 and 100, representing grades. The program then, on separate lines, prints out the entered grades followed by the highest grade, lowest grade, and averages of all four grades. Format the outputs following the sample runs below.

Sample run 1:

You entered:    95, 80, 100, 70

Highest grade:  100

Lowest grade:   70

Average grade:  86.25

Sample run 2:

You entered:    50, 86, 63, 72

Highest grade:  86

Lowest grade:   50

Average grade:  67.75

Sample run 3:

You entered:    70, 70, 70, 70

Highest grade:  70

Lowest grade:   70

Average grade:  70.00

Exercise #2:  Design and implement a programming (name it NextMeeting) to determine the day of your next meeting from today. The program reads from the user an integer value representing today's day (assume 0 for Sunday, 1 for Monday, 2 for Tuesday, 3 for Wednesday, etc...) and another integer value representing the number of days to the meeting day. The program determines and prints out the meeting day. Format the outputs following the sample runs below.

Sample run 1:

Today is Monday

Days to the meeting is 10 days

Meeting day is Thursday

Sample run 2:

Today is Wednesday

Days to the meeting is 7 days

Meeting day is Wednesday

Sample run 3:

Today is Friday

Days to the meeting is 20 days

Meeting day is Thursday

Exercise #3: Design and implement a program (name it CheckPoint) that prompts the user to enter the x-coordinate then y-coordinate of a point (in a Cartesian plane) as integer values. The program prints out the entered values followed by the location of the point on the plane. The possibilities for a point are: the origin point, on the x-axis, on the y-axis, in the first quadrant, in the second quadrant, in the third quadrant, or in the fourth quadrant. Format the outputs following the sample runs below.

Sample run 1:

X-coordinate is 0

Y-coordinate is 0

(0, 0) is the origin point.

Sample run 2:

X-coordinate is 4

Y-coordinate is 0

(4, 0) is on the x-axis.

Sample run 3:

X-coordinate is -2

Y-coordinate is -3

(-2,-3) is in the third quadrant.

Sample run 4:

X-coordinate is 6

Y-coordinate is 9

(6, 9) is in the first quadrant.

Instructions:

1.  Programs must be working correctly.

2.  Programs must be completed and checked before working the assignment.

3.  Programs must be checked by the end of the designated lab session.

Verified Expert

The task of the assignment is to develop 3 C# programs.The first program is to process the grades of the students and determine the grade with minimum, maximum and average score. The second program is to determine the next meeting day from current day and number of days.Third program is to determine the quadrants of the graph based on x and y coordinate value.

Reference no: EM132373851

Questions Cloud

What considerations addressed in creating problem statement : A problem statement should define a specific problem; it should not indicate how that problem should be solved. What considerations should be addressed.
Examine policy issues that surround public healthcare : Examine policy issues that surround public and private healthcare. Imagine that you are a hospital administrator speaking to a stakeholder group of people.
How policy can affect public and private healthcare : For this Journal entry, discuss how policy can affect public and private healthcare in this country. Your Journal entry should be at least 500 words.
How a good and loving god allows suffering in his creation : How would you explain how a good, loving, and all-powerful God allows suffering and evil in his creation? Cite a specific example of suffering and/or evil.
Determine the day of your next meeting from today : Design and implement a program (name it ProcessGrades) that reads from the user four integer values between 0 and 100, representing grades
What two commandments did jesus say are the greatest : From the overview, what two commandments did Jesus say are the greatest? From the overview and textbook, write out the short quote that philosopher Friedrich.
Write a short description of the project : The U.S. government assesses user taxes from airlines and passengers and uses that money to fund Airport Improvement Program (AIP) grants for the planning.
Impact in the lbgtq community : How has ethnocentrism been an impact in the LBGTQ Community?
Dialogue that the author tells us works in the healing : What are the elements of a dialogue that the author tells us works in the healing process? What are the implications for your work with individuals, couples or

Reviews

Write a Review

C/C++ Programming Questions & Answers

  The first part of the program will implement semantic

the first part of the program will implement semantic analysis. the assignment provides two options to define variable

  Program to compute surface area of sphere using function

Write down a program in C++ to compute surface area of sphere using a function. As sample run, write down the surface areas of spheres with radii.

  Write method definition-static void method called one more

Write a method definition for a static void method called one More, which has a formal parameter for an array of integers and increases the value of each array.

  Dq development of training.

What are some of the different factors that we should consider when designing a training program? Discuss how user documentation can be used in the development of training. What other factors, such as organizational constraints, should we consider..

  Write an application that can hold five integers in an array

Write an application that can hold five integers in an array. Display the integers fromfirst to last, and then display the integers from last to first.

  You are to create a text adventure game that uses pointers

you are to create a text adventure game that uses pointers. you have a rich eccentric uncle billy who is soon to be

  Design a modularized body mass index program

Design a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows:  BMI = Weight * 703/Height2

  Write c program for estimating adding numbers in two-d grid

Write a C program for estimating adding numbers in a 2D grid. See the file yournameGridSum.cto get started. This program will exhibit the effect of cumulative rounding error (caused by adding a lot small values.).

  Create the string and store it in a buffer

The program should read from memory the contents of an array containing an arbitrary number of characters, followed by a period (‘.').

  Linked list in c++

If the following C++ code is valid, show the output. If it is invalid, explain why.

  What output would be produced by the program segment

What output would be produced by the following program segment?

  Generate all identifiers in the c programming language

Give production rules in Backus-Naur form that generate all identifiers in the C programming language.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd