answersLogoWhite

0

What else can I help you with?

Continue Learning about Engineering

Write a c program to generate Fibonacci series using copy constructor?

#include #include void main(void) { int i,j,k,n; clrscr(); i=0; j=1; printf("%d %d ",i,j); for(n=0;n<=5;n++) { k=i+j; i=j; j=k; printf("%d ",k); } getch(); }


C plus plus program to enter 1 01 101 0101?

#include<stdio.h> #include<conio.h> void main() { int i,j,k=0,l; clrscr(); for(i=1;i<=5;i++) { for(j=1;j<=i;j++) { k++; printf("%d ",k%2); } for(l=i;l<=4;l++) { k++; } printf("\n"); } getch(); }


Using for loop write a java program to print the table of a given number on the screen?

class Table { int n; void func(int n) { int k=2; for(int i=1;i<n;i++) { System.out.println("table of "+k); for(int j=1;j<=10;j++) { int a=j*k; System.out.print(" "+a); System.out.print(" "); } k=k+1; System.out.print("\n"); } } public static void main(String k[]) { Table t =new Table(); int num=Integer.parseInt(k[0]);//pass the number upto you want the tables eg:4 t.func(num); } }


C program to print helical matrix?

//the following code will help you to write the program for(i=n-1, j=0; i > 0; i--, j++) //n is the order of the square matrix { for(k=j; k < i; k++) printf("%d ", a[j][k]); for(k=j; k < i; k++) printf("%d ", a[k][i]); for(k=i; k > j; k--) printf("%d ", a[i][k]); for(k=i; k > j; k--) printf("%d ", a[k][j]); } m= (n-1)/2; //calculate the position of the middle element if (n% 2 == 1) printf("%d", a[m][m]);//to print the middle element also //9809752937(udanesh)


Write a c program to print the following output using for loop 1 2 2 333 4444 55555?

int main() { int i,j,sum,k; for(i=1;i<=5;i++) { k=1; sum =0; for(j=1;j<=i;j++) { sum = sum+(i*k); k=k*10; } cout<< sum; cout<< "\n"; } }

Related Questions

What is main purpose in having K-12 curriculum?

So children can have a proper education.


Why is k-12 program better than the current program?

whyis the k to 12 program better thatn the current program?


What is k 12 program?

K to 12 means a school that goes from kindergarten to 12the grade. - Ashlee.


What are the purpose of k to 12 curriculum?

K to 12 means a school that goes from kindergarten to 12the grade. - Ashlee.


What do you do in order to access the run program?

#include<stdio.h> void main() {int k=10; prinft("%d,"&k"); }


What is the effect of k plus 12 program in the Philippines?

i really dont know


What is meant by building the nation's future leaders through the K to 12 basic education program?

It means just what it says. The K to 12 education program can give people what they need to become the nation's future leaders.


What is the role of a teacher in implementation of k plus 12 program?

Teaching the subject mater.


Is k12 free?

K-12 is the education format followed in US. K-12 education is provided online by various online schools and homeschooling. An organization called K-12 online/ K-12 Inc provides K-12 education online but is not free, it is a private organization and charges for providing K-12 education.


What has the author K E Rose written?

K. E. Rose has written: 'Towards multi-purpose budgeting in local government' -- subject(s): Local budgets, Program budgeting


What does vitamin k do to your body?

The main purpose of Vitamin K is to aid in the clotting process. Vitamin K is important as part of the blood clotting mechanism of the body.


What are the similarities and differences of the components of the Revised Basic Education to the K to 12 program?

The Revised Basic Education (RBE) program and the K to 12 program both aim to enhance the quality of education by providing a more comprehensive curriculum. However, the RBE program focuses on improving the basic education curriculum by incorporating new subjects and teaching methodologies, while the K to 12 program extends the basic education cycle to include two additional years for senior high school. Both programs seek to address the gaps in the education system and better prepare students for higher education or employment.