| Category | Assignment | Subject | Programming |
|---|---|---|---|
| University | ______ | Module Title | DSC01 Programming using C++ Theory Assignment I |
1. Write a program in C++ to input a two-digit number and print its reverse.
2. Write a program in C++ to input a two-digit number and print the sum of its digits.
3. Write a program in C++ to find the third angle of a triangle.
4. Write a program in C++ to enter values of principal amount, rate of interest and time and calculate- a) simple interest and b) compound interest.
[Hint: Include math.h file and use pow() function.]
5. Write a program in C++ to find roots of a quadratic equation.
[Hint: Include math.h file and use sqrt() function.]
6. Write a program in C++ to swap the values of two integer variables- a) using a third variable
and b) without using a third variable.
7. Write a program in C++ to check whether a number is positive, negative or zero.
8. Write a program in C++ that asks the user to input lengths of three sides and angles of a triangle and-
i) prints whether it is a valid triangle or not
ii)if the triangle is valid, prints whether the triangle is equilateral, scalene or isosceles
9.Write a program in C++ that accepts a character and-
i) prints whether the character is a letter or a numeric digit or a special character
ii) if the character is a letter, prints whether the letter is upper case or lower case
10. Write a program in C++ having a user defined function that repeatedly asks for numbers until the user provides a negative number.
11. Write a program in C++ having a user defined function that accepts an integer argument and
returns a Boolean value. The function should return true if the integer argument is greater than or equal to zero, and false otherwise. Call this function with a positive and negative value to test that it works, and display the result.
Hire Experts to solve DSC01 Assignment before Deadline
Pay & Buy Non Plagiarized AssignmentGet expert assignment help for DSC01 Programming using C++ Theory Assignment I ? We specialize in offering high-quality Programming Assignment Help, with an option for students to pay our experts to take on their assignment challenges. Need a reference? We also provide a free list of assignment examples to help you get started. With years of experience, our writers deliver 100% plagiarism-free content and offer unlimited revisions to meet your needs. Trust us to help you excel in your studies!
Hire Assignment Helper Today!
Let's Book Your Work with Our Expert and Get High-Quality Content