Explaining the role of different data structures in Computer Programming. This is a post in series, Wait for the next
Learn how to draw patterns using Java loops. This post explains the logic behind drawing patterns and guides you step by step.
Triangles, Pyramids, Stars, Numbers, Alphabets, all types of shapes.
The Recursion Sutras is your must have guide to programming using Recursion. Written using the Java Programming Language and a short succinct 83 pages, this book explains recursion both theoretically and for the programmer.
Ranked among the best Data Structures books of all time by BookAuthority.org.
#include<stdio.h> #include<conio.h> void main () { int num; clrscr(); printf(“Enter A number to get it’s absolute Number”); scanf(“%d”,&num); if(num<0) num=-num; printf(“%d”,num); getch(); } After Running Program 🙂
To Calculate GST% by Using C . Here are really simple coding of C. #include<stdio.h> #include<conio.h> #include<math.h> void main () { float original_cost,GST,Netprice,GST_Amount; clrscr(); printf(“Calculate the GST on your product\n”); printf(“Enter Original cost of your product\n”); scanf(“%f”,&original_cost); printf(“Enter the Percent of GST on that product\n”); scanf(“%f”,&GST); GST_Amount=(original_cost*GST)/100; Netprice=original_cost+GST_Amount; printf(“Your Netprice=%f”,Netprice);…
Q. How to find ASCII value in C #include<stdio.h> #include<conio.h> void main () { int a,b; clrscr(); printf(“Enter digit to get it’s character value= “); scanf(“%d”,&a); printf(“The character vlaue is\t%c”,a); getch(); } After Running program 🙂
Q. Changing Celcius to Fahrenheit And back in C by simple program. #include<stdio.h> #include<conio.h> void main() { int option; float c,f; clrscr(); printf(“Enter c for celsius to fahrenheit, f for the reverse\n”); option=getch(); switch(option) { case ‘c’: case ‘C’: printf(“Enter value in celsius\n”); scanf(“%f”,&c); f=(c*9)/5 + 32; printf(“%0.2f celsius is…
Q. How to Find Area of Circle In C ? #include<stdio.h> #include<conio.h> #include<math.h> void main() { float r,area; clrscr(); printf(“Enter the radius of circle”); scanf(“%f”,&r); area=r*r; area=area*3.14; printf(“%0.2f”,area); getch(); } After Running Program 🙂
We start a new series on Spring Web MVC in Netbeans. We will be using Netbeans 8.2. In this post we will just start a project and run it. 1. Create a new Java Web Project in Netbeans. Press Next. 2. Name the project springdemo Press Next 3. Select…
Q. How to make program of Rounding Number in C ? #include<stdio.h> #include<conio.h> void main () { float num; int x; clrscr(); printf(“Enter your Number”); scanf(“%f”,&num); if(num<0) x=(num-0.5); else x=(num + 0.5); printf(“%d”,x); getch(); } After Running Program 🙂