Write a program to generate the following series:
11,22,33,44...................upto 10 terms.
(Note:- it's is based on Qbasic64)
Answers
Answered by
5
Hey here is your logic only:
for(int I=11;I<=n;i+=10);
int sum(0)=sum+i;
This is the logic....hope it helps
Answered by
6
Answer:
program to generate the (11, 22, 33, ...... ) series is as follows:-
Explanation:
#include <stdio.in>
void main ( )
{
int i , n = 11;
for (i = 1 ; i<11; i++) // looping //
{
n= n*i ;
printf(" %d", n); // it will display the value of n //
} // end of for loop
} //end of the program
Similar questions