DSC01 Programming using C++ Theory Assignment I

Published: 30 Sep, 2025
Category Assignment Subject Programming
University ______ Module Title DSC01 Programming using C++ Theory Assignment I

DSC01: Programming using C++

Theory Assignment - 1

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 Assignment

Get 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!

Workingment Unique Features

Hire Assignment Helper Today!


Latest Free Samples for University Students

BE469-7-SP-CO Managing Across Cultures Assessment Example 2025-26 | UoE

Category: Assignment

Subject: Business

University: University of Essex

Module Title: BE469-7-SP-CO Managing Across Cultures

View Free Samples

BABM1003 Accounting and Budget Management Assignment 1 Example 2025-26 | DMU

Category: Assignment

Subject: Management

University: De Montfort University

Module Title: BABM1003 Accounting and Budget Managemen

View Free Samples

ULMS55O Human Resources Management at Affluent: Academic and Practitioner’s Perspective Assessment 2 Example

Category: Assignment

Subject: Management

University: University of Liverpool

Module Title: ULMS55O Human Resources Management at Affluent: Academic and Practitioner’s Perspective

View Free Samples

MED031-6 Final Project in Mass Communications Assignment 2 Example | University of Bedfordshire

Category: Assignment

Subject: Education

University: University of Bedfordshire

Module Title: MED031-6 Final Project in Mass Communications

View Free Samples

BABM2006 Work-Based Management Project Assignment 3 Example

Category: Assignment

Subject: Management

University: De Montfort University

Module Title: BABM2006 Work-Based Management Project

View Free Samples
Online Assignment Help in UK