Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 011. Write a program to accept roll no and marks of 3 subjects of a student, Calculate total of 3 subjects and average in C language #include<stdio.h> #include<conio.h> main() { int roll_no,m1,m2,m3,total; float average; clrscr(); printf("Enter roll number : "); scanf("%d",&roll_no);…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 010. Write a program to accept two values a & b and interchange their values in C language #include<stdio.h> #include<conio.h> main() { int a, b, temp; clrscr(); printf("Enter Numbers: "); scanf("%d%d",&a,&b); printf("\nBefore Swapping..\na=%d,b=%d",a,b);…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 009. Write a program to accept a number from user and print it’s square & cube in C language #include<stdio.h> #include<conio.h> main() { int n, Square, Cube; clrscr(); printf("Enter Number: "); scanf("%d",&n); Square=n*n; Cube=n*n*n;…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 008. Write a program to print simple interest SI = (PNR)/100 in C language #include<stdio.h> #include<conio.h> main() { float SI,P,N,R; clrscr(); printf("Enter values of P, N and R: ");…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 007. Write a program to print area of a triangle A(Triangle)= 0.5 * B * H in C language #include<stdio.h> #include<conio.h> main() { float AREA,B,H; clrscr(); printf("Enter Base & Height: "); scanf("%f%f",&B,&H); AREA=0.5*B*H; printf("Area…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 006. Write a program to print area of a circle. A(circle)= 3.142 * R * R in C language #include<stdio.h> #include<conio.h> main() { float AREA,R; clrscr(); printf("Enter Radius: "); scanf("%f",&R); AREA=3.14*R*R; printf("Area of the…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 005. Write a program to accept values of two numbers and print their division in C language #include<stdio.h> #include<conio.h> main() { float a,b,c; clrscr(); printf("Enter number 1: "); scanf("%f",&a); printf("Enter number 2:…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 004. Write a program to accept values of two numbers and print their multiplication in C language #include<stdio.h> #include<conio.h> main() { int a,b,c; clrscr(); printf("Enter number 1: "); scanf("%d",&a); printf("Enter number 2:…Prashant ChaudhariSeptember 18, 2012
Learn C ProgrammingLearn ProgrammingPrograms On Arithmetic OperatorsResources 003. Write a program to accept values of two numbers and print their subtraction #include<stdio.h> #include<conio.h> main() { int a,b,c; clrscr(); printf("Enter number 1: "); scanf("%d",&a); printf("Enter number 2:…Prashant ChaudhariSeptember 18, 2012
Resources 7 Important tools web developers can use for faster development and UI Designing Here is my list of tools that I keep handy while working on UI and…Prashant ChaudhariMay 9, 2012