Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
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. I 3 snake_case Pros: Concise when it consists of a few words. Cons: Redundant as hell when it gets longer. push something to first queue, pop.what, get...whatever PascalCase Pros: Seems neat. GetItem, Setite Convere Cons: Barely used. (why?) camelCase Pros: Widely used in the programmer community. Cons: Looks ugly when a few methods are n-worded. punt en 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, deherwise 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 avedage 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions