Student Learning
Home
(current)
Aptitude
Class
FYBCA
SYBCA
TYBCA
Reading
About
FeedBack
Search
A1. Write a C++ program to print Floyd‟s triangle.
1
2 3
4 5 6
7 8 9 10
A2. Write a C++ program to generate multiplicationtable.
A3. Write a C++ program using switch statement which accepts two integers and an operator as (+, -, *, /) and performs the corresponding operation and displaystheresult.
A4. Write C++ program to check whether number is palindrome ornot?
B1. Write a C++ program to display factors of a number.
B2. Write a C++ program tocalculate following series: (1) + (1+2) + (1+2+3) + (1+2+3+4) + ... +(1+2+3+4+...+n)
B3. Write a C++ program to convert decimal number to hexadecimal.
C1. Write a C++ program to print right oriented right angled pyramid.
1
2 3
4 5 6
7 8 9 10
C2. Write a C++ program to check whether a number can be expressed as sum of two primenumbers.