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

ELT201 Understanding Poetry SUSS Assignment Sample

Category: Assignment

Subject: English

University: Singapore University of Social Sciences

Module Title: ELT201 Understanding Poetry

View Free Samples

BUS354 Customer Relationship Management Assignment Sample | SUSS

Category: Assignment

Subject: Management

University: Singapore University of Social Sciences

Module Title: BUS354 Customer Relationship Management

View Free Samples

ICT239 Web Application Development Assignment Sample | SUSS

Category: Assignment

Subject: Computer Science

University: Singapore University of Social Science (SUSS)

Module Title: ICT239 Web Application Development

View Free Samples

OST166 Understanding Leadership through Place-Based Education Assignment Sample | SUSS

Category: Assignment

Subject: Education

University: Singapore University of Social Sciences (SUSS)

Module Title: OST166 Understanding Leadership through Place-Based Education

View Free Samples

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
Online Assignment Help in UK