#time based greetings

18 messages · Page 1 of 1 (latest)

dry arrowBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

#
How to Ask a Programming Question

Anyone can ask a question in our programming channels. Following the guide Writing The Perfect Question is recommended.

What to Post

State your problem clearly and provide all necessary details:

  • the relevant portion of your code, or all of it
  • the expected output
  • the actual output (or the full error)
    :trophy: Gold Standard: Minimal Reproducible Example
Where to Post

Provide the relevant code in the message, and format it nicely with a code block*. If it's too much for one message, you can upload it:

  • Compiler Explorer for most C/C++ snippets
  • OnlineGDB for interaction, debugging
    :no_entry: Do not post screenshots, let alone photos of your screen!
summer tusk
#

What exactly do you need to do, and what have you done so far? What do you need help with?

timid sand
#

i need to construct a final grade calculator

#
  • The program must calculate a course grade based on user input
    • Example: User enters assignment names, point values, and earned scores
  • Use C++ functions to organize your code
    • For example, create functions for the greeting, collecting inputs, calculating grade, etc.
  • Use at least one loop (for, while, do-while)
    • For example, loop through user input to collect assignment scores
  • Use proper data types for variables and constants
  • Follow code style and naming conventions discussed in class:
    • camelCase for variables and functions
      • ex. calculateGrade()
    • UPPERCASE naming for constants
      • ex. const int MAX_ASSIGNMENTS = 10;
    • Descriptive, readable identifier names
  • Program should:
    • Print a title
    • Print a greeting that changes based on time of day
      • Ex: "Good morning!", "Good afternoon!"
    • Prompt user to enter grading scheme (total points, letter grade cutoffs)
    • Prompt user to enter assignment name and points
    • Allow user to finish entering assignments
    • Calculate and print final grade percentage and letter grade
  • The program should be intuitive and easy to understand
  • Utilize good program design with proper loops, variables, etc.
#

these are some additional requirements

summer tusk
#

Ok, in your own words, what do you need to do? (I'm not reading a wall of text, sorry)

timid sand
#

LOL

#

it’s okay

#

make a program that calculates a final grade that includes a title + time based greeting

#

like good afternoon and all that

#

im just confused

summer tusk
#

What confuses you?

timid sand
#

just not sure if im doing this right

#

this is what i have so far

#

but i keep on getting error

dry arrowBOT
#

@timid sand

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

timid sand
#

!solved