WAP a program in c++ to display the following series up to n term :-1)3,6,9,12........
2)1,3,25,49 upto n terms
3)1.5,3.5,4.5,6.0 upto n terms
4)using switch statement write the menu driven program in c++
a)Abuzz no to check (buzz no is a no either n switch digit 7 or divisible by7)
b) find out HCF of any two no.
Answers
Answered by
0
Answer:
To display series like 3,6,9,...
you can use for loop
int n;
cout <<"enter no.of terms";
Cin>>n;
for( int i =0; i<n; i++)
cout <<3 *i <<endl;
it will display multiple of 3 line by line
#answerwithquality #BAL
Similar questions
English,
6 months ago
English,
6 months ago
Physics,
1 year ago
Science,
1 year ago
CBSE BOARD XII,
1 year ago