Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Guidelines for Homework: Use the 1st page of this file as the cover page for your homework. Comment your Name and ID at the beginning
Guidelines for Homework: Use the 1st page of this file as the cover page for your homework. Comment your Name and ID at the beginning of the code. Use comments for documentation. Use flowcharts. Use screenshot. Use meaningful variable names using camelCase or PascalCase or snake_case naming convention. Use an online C++ platform. snake_case Pros: Concise when it consists of a few words. Cors: Redundant as hell wher it gets longer. pust_orrething_to_first_queue, pop_what, get_whatever.. Pascal Case Pros: Seems neat. Get Item, SetItem, Convert, ... Cons: Barely used. (why?) camel Case Pros: Widely used in the programmer community. Cons: Looks ugly when a few methods are n-worded. push, reserve, beginBuilding, ... Tasks Task1: Write a C++ program that prompts the user to input two numbers, save the first number in x, save the second number in y, then swap the two numbers. Solution:(flowchart + Program) Task2: Write a C++ program that prompts the user to input three integer numbers, if one of the numbers are negative then compute the sum, otherwise find the largest number among them. Solution:(flowchart + Program) Task3: Write a C++ program that prompts the user to input three student's grades (quiz, mid-term, and final scores), then compute the average of the grades, and determine the grade based on the following rules: -if the average score =90 then grade=A -if the average score >= 70 and =60 and
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