pattern 7: Pyramid Star pattern program in C Language
Write a C Program to print below pattern ( Pyramid pattern ) : * * * * *...
C / C codes / C interview programs / patterns / pyramid pattern / Uncategorized
by Venkatesh Macha · Published July 13, 2015 · Last modified February 27, 2017
Write a C Program to print below pattern ( Pyramid pattern ) : * * * * *...
basic C programs / C codes / C interview programs / Mathematical C programs / Uncategorized
by Venkatesh Macha · Published November 15, 2014 · Last modified February 27, 2017
Description : A series of whole numbers in which each number is the sum of the two preceding...
basic C programs / C codes / C interview programs / Uncategorized
by Venkatesh Macha · Published October 29, 2014 · Last modified February 27, 2017
Formula to Calculate Area of Triangle : Area = ½ × b × h b = baseh =...
basic C programs / C codes / C interview programs / C language / Mathematical C programs / Simple C programs / Uncategorized
by Venkatesh Macha · Published October 12, 2014 · Last modified February 27, 2017
/******************Program****************/
1 |
#include<stdio.h><br />void main(void)<br />{<br />int a,b;<br />printf("Enter Value for a :");<br />scanf("%d",&a);<br />printf("Enter Value for b :");<br />scanf("%d",&b);<br /><br />printf("Sum=%dn",a+b);<br />printf("Difference=%dn",a-b);<br />printf("Product=%dn",a*b);<br />printf("Quotient=%dn",a/b);<br />printf("Remainder=%dn",a%b); <br /><br />}<br /> |
/******************OUTPUT****************/ Related Reading : C program to test Leap year C program to Find Area and...
basic C programs / C codes / C interview programs / Mathematical C programs / Uncategorized
by Venkatesh Macha · Published May 4, 2014 · Last modified February 27, 2017
Program : #include<stdio.h> main() { int i,var; printf(“Eneter a integer :”); scanf(“%d”,&i); var=1; Label: var=var*2; if(var<i) goto Label; if(var==i) printf(“given integer...
basic C programs / C codes / C interview programs / C language / Simple C programs / Uncategorized
by Venkatesh Macha · Published April 10, 2014 · Last modified February 27, 2017
Factorial :In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. For...
basic C programs / C codes / C interview programs / C language / Simple C programs / String based C programs / Uncategorized
by Venkatesh Macha · Published April 7, 2014
/******* Program **********/ #include<stdio.h>#include<string.h>main(){ char str[20]; int i,j,len,cnt; cnt = 0; printf(“Enter string to test :”); scanf(“%s”,str);...
C codes / C interview programs / C language / Mathematical C programs / Uncategorized
by Venkatesh Macha · Published February 27, 2014 · Last modified February 27, 2017
Program #include<stdio.h>main(){ int n,i,j,cnt=0; printf(“Enter Any No :”); scanf(“%d”,&n); for(i=1;i<=n;i++) { cnt = 0; for(j=2;j<i;j++) { if(i%j ==...
Bitewise operators / C codes / C interview programs / C language / C tutorial / operators / Uncategorized
by Venkatesh Macha · Published February 25, 2014 · Last modified February 27, 2017
/********* PROGRAM **********/ #include<stdio.h>main(){ int a,b; printf(“Enter a,b values : “); scanf(“%d%d”,&a,&b); printf(“Before swapping a = %d t...
C interview programs / Mathematical C programs / Simple C programs / Uncategorized
by Venkatesh Macha · Published February 22, 2014 · Last modified February 27, 2017
/********** Program ***********/#include<stdio.h>main(){ int n,i; printf(“Enter any Number : “); scanf(“%d”,&n); for(i=31;i>=0;i–) { printf(“%d”,((n>>i)&1) ? 1 : 0);...
Basics of C / C / C language / C tutorial
Decision making statements if and if…else in C
9 Dec, 2018
Admin / RTP / rtpengine / ubuntu / Uncategorized / VOIP
Installing RTPEngine on Ubuntu 14.04
17 Aug, 2015