C Program to Find Area of Scalene Triangle
#include<stdio.h> #include<math.h> int main() { int s1, s2, angle; float area; printf("nEnter Side1 : "); scanf("%d", &s1); printf("nEnter Side2 : "); scanf("%d", &s2); printf("nEnter included angle : "); scanf("%d", &angle); area = (s1 * s2 * sin((M_PI /...
C Program to find area
#include<stdio.h> int main() { int rad; float PI = 3.14, area, ci; printf("nEnter radius of circle: "); scanf("%d", &rad); area = PI * rad * rad; printf("nArea of circle : %f ", area); ci = 2 * PI * rad; ...
video
Introduction to Java programming This tutorial explains the installation and usage of the Java programming language. It also contains examples for standard programming tasks. You should have already installed Java Development Kit (JDK). Otherwise, Read "How to Install JDK and Get Started with Java Programming". Let us begin by writing our first Java program that prints a message "Hello, world!" to the...
Introducing -- Code ! A new and open zone for budding programmers like me and for amateur developers. I believe that writing codes is not a rocket science, it's fun and interesting. Most people don't find coding fun because they don't see the beauty or they find it difficult. But it's not at all difficult and it's very much fun, you will soon find...
Facebook has designed a new programming language called Hack but it has nothing to do with hacking. It lets programmers build complex websites and other software quickly and without many flaws. "We can say with complete assurance that this has been as battle-tested as it can possibly be," - according to Bryan O'Sullivan, the Facebook engineer behind the language, said...
Write a Program to convert decimal to OCTAL in C Language Decimal to octal conversion method: Step 1: Divide the original decimal number by 8 Step 2: Divide the quotient by 8 Step3: Repeat the step 2 until we get quotient equal to zero. Result octal number would be remainders of each step in the reverse order. Decimal to octal conversion with example: For example we...
Decimal to binary conversion in c programming language. C source code for decimal to binary conversion: Algorithm: Binary number system: It is base 2 number system which uses the digits from 0 and 1. Decimal number system: It is base 10 number system which uses the digits from 0 to 9 Convert from decimal to binary algorithm: Following steps describe how to convert decimal to...
There are plenty of reasons to add flair to your website: presentation, graphical representation of an idea, or just fun. Changing the cursor (what is traditionally displayed as a white arrow controlled by your mouse) is just one of many changes that can be made, but it is an interesting one. It offers many unique options to the webmaster....
We have all heard of “mobile apps” that are sweeping the internet stories of developers creating hit apps in their parents basements, or while having coffees at Starbucks. They strike it rich, quit their jobs, and retire wealthy before the age of 25; but first, lets set some reasonable expectations. Those stories do happen, and they make the news...
India map using C language This c program to create Indian Map. Here is the Code for drawing India's MAP on the the Command Prompt Console. Just using the simple C Program consisting of two for loops. First loop is using for space and another loop is using for print a map. Just copy and paste the above code and you...

Recent Posts