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

Assignment - 23

Uploaded by

n200verma
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)
32 views1 page

Assignment - 23

Uploaded by

n200verma
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
You are on page 1/ 1

Assignment - 23 A Job Ready Bootcamp in C++, DSA and IOT MySirG

Basics of C++

1. Write a C++ program to print Hello MySirG on the screen.


2. Write a C++ program to print Hello on the first line and MySirG on the second line
using endl.
3. Write a C++ program to calculate the sum of two numbers.
4. Write a C++ program to calculate the area of a circle
5. Write a C++ program to calculate the volume of a cuboid.
6. Write a C++ program to calculate an average of 3 numbers.
7. Write a C++ program to calculate the square of a number
8. Write a C++ program to swap values of two int variables without using third variable
9. Write a C++ program to find the maximum of two numbers.
10. Write a C++ program to add all the numbers of an array of size 10.

You might also like