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

C++ Programming Assignment Tasks

The document outlines a computer programming group assignment consisting of five tasks in C++. The tasks include generating a sequence of numbers, converting a decimal number to binary, finding the GCF of two numbers, creating a pyramid of numbers, and displaying the square of a number using two-dimensional arrays. Each task requires specific input and output formats to be followed.

Uploaded by

Noah Nathenael
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)
4 views1 page

C++ Programming Assignment Tasks

The document outlines a computer programming group assignment consisting of five tasks in C++. The tasks include generating a sequence of numbers, converting a decimal number to binary, finding the GCF of two numbers, creating a pyramid of numbers, and displaying the square of a number using two-dimensional arrays. Each task requires specific input and output formats to be followed.

Uploaded by

Noah Nathenael
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

Computer Programming Group Assignment

1. Write a program in C++ to read a positive integer number n and to generate the numbers
in the following form.
Enter a number: 5
Output: 5 4 3 2 1 0 1 2 3 4 5
Enter a number: 7
Output: 7 6 5 4 3 2 1 0 1 2 3 4 5 6 7
2. Write a program that accepts a decimal number from keyboard and display its binary
equivalent?
3. Write a program that accepts two numbers and find the GCF of the numbers.
4. Write a program in C++ to generate pyramid of numbers

5. Write a program by using two dimensional arrays that displays the square of the number
that accepts from the user.

You might also like