0% found this document useful (0 votes)
12 views1 page

C++ Programming Tasks and Concepts

The document outlines a C++ class task consisting of six programming exercises and a set of questions related to programming concepts. Tasks include printing a message, calculating the square root, swapping numbers, and identifying various types of errors. Additionally, it requires the completion of drill questions from a textbook and using online resources for guidance on specific topics.

Uploaded by

divach77
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

C++ Programming Tasks and Concepts

The document outlines a C++ class task consisting of six programming exercises and a set of questions related to programming concepts. Tasks include printing a message, calculating the square root, swapping numbers, and identifying various types of errors. Additionally, it requires the completion of drill questions from a textbook and using online resources for guidance on specific topics.

Uploaded by

divach77
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

C++ Class Task (30 Points)

1. WAP to print “Today is a sunny day!!!”

2. Use cmath header to find the square root of 64. Click here to learn more about
cmath [Link]

3. WAP to swap two numbers without using a third variable.

4. Refer to section 2.4 (Page 51) in the textbook and answer the following:
a. What is a linker?
b. Link- time errors
c. Compile- Time Errors
d. Logic Errors
e. Run-Time Errors

5. Refer to this to get help with the if/ else loop in C++.
[Link]
WAP that asks the user to enter two numbers. Print the greatest of the two
numbers entered by the user.

6. Refer to the Drill section on page 83. Complete the 7 drill questions in the
Replit.

You might also like