helping out with sample programs in c++

Status
Not open for further replies.
Anyone please, help me write these patterns in c++
1.
1
212
32123
4321234
32123
212
1

2.
1
121
12321
1234321

3.
WAP to find sum of digits of an integer and continue summing the digits till the last sum is single digit.

4.
WAP to convert decimal number into binary and vce versa.


5.
WAP to sum sequence of integers. Assume that the 1st integer read specifies the number of values remaining to be entered in, the program should read only one value per input statement.
 
Status
Not open for further replies.
Top Bottom