Write a C program to print 10 terms of the following series using FOR loop, 1, 5, 9, 13 Rahul Notes 5:03 PM #include<stdio.h> #include<conio.h> void main() { int i,a=1; clrscr(); for(i=0;i<10;i++) ... Continue Reading
Write a C program to print 10 terms of any series using FOR loop Rahul Notes 5:02 PM #include<stdio.h> #include<conio.h> void main() { int n,i,a=5; clrscr(); printf("\n Enter how... Continue Reading
Write a C program to read a positive number integer less than 20 and display its multiplication table. Rahul Notes 5:01 PM #include<stdio.h> #include<conio.h> void main() { int n,i; clrscr(); printf("\n Enter positive ... Continue Reading
Write a C program to input a number and display its multiplication table. Rahul Notes 5:01 PM #include<stdio.h> #include<conio.h> void main() { int n,i; clrscr(); printf("\n Enter number:... Continue Reading
Write a C program to display the sum of ‘n’ terms of even numbers Rahul Notes 5:00 PM #include<stdio.h> #include<conio.h> void main() { int i,n,s=0,a=2; clrscr(); printf("\nEnter ho... Continue Reading
Write a program to display name of the day on the basis of entered number 1 to 7. For example, 1 for Sunday. Rahul Notes 4:58 PM #include<stdio.h> #include<conio.h> void main() { int n; printf("\nEnter number between 1 to 7 ... Continue Reading
Write a C program to find the commission amount on the basis of sales amount as per following conditions. Rahul Notes 4:56 PM Sales amount (Rs) Commission 0-1000 5% 1001-2000 ... Continue Reading
Write a C program that checks whether the numbered entered by the user is exactly divisible by 5 but not by 11 Rahul Notes 4:53 PM #include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("\nEnter any number: ... Continue Reading
Write a C program that reads three numbers and displays the largest among them. Rahul Notes 4:52 PM #include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("\nEnter any thre... Continue Reading